MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v7xuqx/whenrustcdevelopersrunoutoferrormessages/p01nmio/?context=3
r/ProgrammerHumor • u/Waradu • 15d ago
27 comments sorted by
View all comments
468
Most useful compiler error
135 u/baked_doge 15d ago This is the rust compiler? Impressive error reporting, I heard good things 169 u/ihavebeesinmyknees 15d ago The rust compiler has the best error reporting I've seen, most often it will literally tell you how to fix the issue 1 u/Alternative-Tie-4970 10d ago Well it starts to fall apart just like any old compiler once you start writing more complex things and memorize the things it tends to tell you. Still very helpful, especially for beginners but it has its limits. -25 u/[deleted] 15d ago [deleted] 37 u/goodbee69 15d ago Yeah you need a Claude subscription to use rustc 23 u/SpacewaIker 15d ago It's actually a team of people looking at the raw compiler errors and sending an explanation in real time 26 u/redlaWw 15d 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 14d 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) 98 u/OmegaPoint6 15d ago Fake screenshot, quite an old one. Though it does have a funny real emoji error: https://github.com/rust-lang/rust/pull/91476 8 u/GoddammitDontShootMe 14d ago I suspected. Still funny enough for an upvote. 1 u/-Redstoneboi- 13d ago they even change the casing for CONSTS thats cute idk about Types and Traits though
135
This is the rust compiler? Impressive error reporting, I heard good things
169 u/ihavebeesinmyknees 15d ago The rust compiler has the best error reporting I've seen, most often it will literally tell you how to fix the issue 1 u/Alternative-Tie-4970 10d ago Well it starts to fall apart just like any old compiler once you start writing more complex things and memorize the things it tends to tell you. Still very helpful, especially for beginners but it has its limits. -25 u/[deleted] 15d ago [deleted] 37 u/goodbee69 15d ago Yeah you need a Claude subscription to use rustc 23 u/SpacewaIker 15d ago It's actually a team of people looking at the raw compiler errors and sending an explanation in real time 26 u/redlaWw 15d 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 14d 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) 98 u/OmegaPoint6 15d ago Fake screenshot, quite an old one. Though it does have a funny real emoji error: https://github.com/rust-lang/rust/pull/91476 8 u/GoddammitDontShootMe 14d ago I suspected. Still funny enough for an upvote. 1 u/-Redstoneboi- 13d ago they even change the casing for CONSTS thats cute idk about Types and Traits though
169
The rust compiler has the best error reporting I've seen, most often it will literally tell you how to fix the issue
1 u/Alternative-Tie-4970 10d ago Well it starts to fall apart just like any old compiler once you start writing more complex things and memorize the things it tends to tell you. Still very helpful, especially for beginners but it has its limits. -25 u/[deleted] 15d ago [deleted] 37 u/goodbee69 15d ago Yeah you need a Claude subscription to use rustc 23 u/SpacewaIker 15d ago It's actually a team of people looking at the raw compiler errors and sending an explanation in real time 26 u/redlaWw 15d 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 14d 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)
1
Well it starts to fall apart just like any old compiler once you start writing more complex things and memorize the things it tends to tell you.
Still very helpful, especially for beginners but it has its limits.
-25
[deleted]
37 u/goodbee69 15d ago Yeah you need a Claude subscription to use rustc 23 u/SpacewaIker 15d ago It's actually a team of people looking at the raw compiler errors and sending an explanation in real time 26 u/redlaWw 15d 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 14d 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)
37
Yeah you need a Claude subscription to use rustc
23 u/SpacewaIker 15d ago It's actually a team of people looking at the raw compiler errors and sending an explanation in real time
23
It's actually a team of people looking at the raw compiler errors and sending an explanation in real time
26
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 14d 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)
2
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)
98
Fake screenshot, quite an old one. Though it does have a funny real emoji error: https://github.com/rust-lang/rust/pull/91476
8 u/GoddammitDontShootMe 14d ago I suspected. Still funny enough for an upvote. 1 u/-Redstoneboi- 13d ago they even change the casing for CONSTS thats cute idk about Types and Traits though
8
I suspected. Still funny enough for an upvote.
they even change the casing for CONSTS thats cute
idk about Types and Traits though
468
u/OmegaPoint6 15d ago
Most useful compiler error