3 ms·
The worst error message was basically no error message. After I made some big refactoring to my project, cargo would just exit with: error: could not compil
by ogoffart 5y ago
The worst error message was basically no error message. After I made some big refactoring to my project, cargo would just exit with:
error: could not compile `the_project`.
And nothing else. No hint of what the problem is.
It then took me a long time to try to comment out code here and there to find out what was causing the error.
When I finally found out the problem, I took the time to fill a bug report. I don't know if anyone looked at it. https://github.com/rust-lang/rust/issues/73026 https://github.com/rust-lang/rust/issues/73026
- estebank 5y agoThank you for the great report. It indeed seems to have fallen through the cracks, with no one touching it (it's missing the T-compiler tag, which means I didn't triage it) since it was first cathegorized. I wouldn't call that lack of output representative of the experience of using rustc though, if I'm allowed to let my pride on my work flare up a bit.
- ogoffart 5y agoSorry, I did not mean to say that this was representative of the overall experience. On the contrary, I'm usually quite satisfied with the compiler messages. Thanks for your work!
- estebank 5y agoThank you! The "bad" thing about having high standards is that when it isn't met it is quite jarring, more so than if it were homogeneously bad or meh, and that ends up bring more frustrating.