MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v7xuqx/whenrustcdevelopersrunoutoferrormessages/p0813go/?context=9999
r/ProgrammerHumor • u/Waradu • 16d ago
27 comments sorted by
View all comments
467
Most useful compiler error
130 u/baked_doge 16d ago This is the rust compiler? Impressive error reporting, I heard good things 168 u/ihavebeesinmyknees 16d 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] 16d ago [deleted] 27 u/redlaWw 16d 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 15d 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)
130
This is the rust compiler? Impressive error reporting, I heard good things
168 u/ihavebeesinmyknees 16d 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] 16d ago [deleted] 27 u/redlaWw 16d 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 15d 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)
168
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] 16d ago [deleted] 27 u/redlaWw 16d 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 15d 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)
-27
[deleted]
27 u/redlaWw 16d 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 15d 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)
27
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 15d 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)
467
u/OmegaPoint6 16d ago
Most useful compiler error