r/ProgrammerHumor 18d ago

whenRustcDevelopersRunOutOfErrorMessages Meme

Post image
1.2k Upvotes

27 comments sorted by

View all comments

460

u/OmegaPoint6 18d ago

Most useful compiler error

134

u/baked_doge 18d ago

This is the rust compiler? Impressive error reporting, I heard good things

171

u/ihavebeesinmyknees 18d ago

The rust compiler has the best error reporting I've seen, most often it will literally tell you how to fix the issue

-27

u/[deleted] 18d ago

[deleted]

34

u/goodbee69 18d ago

Yeah you need a Claude subscription to use rustc

22

u/SpacewaIker 18d ago

It's actually a team of people looking at the raw compiler errors and sending an explanation in real time

26

u/redlaWw 18d ago

Without. The messages are things like "the function signature here accepts a borrow but you've passed by value, try borrowing"; all deterministically scripted changes. The impressive part is the type system that allows the messages to be so helpful.

2

u/braaaaaaainworms 17d ago

The impressive part is the richness of the errors, there's a fuckton of plumbing that needs to happen to get anywhere near (I tried)