External Publication
Visit Post

Custom Cargo Command to Show Only Errors (Avoid Setting RustFLAGS Every Time)

Rust Internals [Unofficial] February 22, 2026
Source

Noratrieb:

I think it would be nice if we had a way to make the errors more visible than the warnings. Maybe something like re-printing errors at the end of the build log if there were several warnings?

Errors themselves can be just as problematic as warnings — e.g. some erroneous code can break trait solving for the rest of the program, resulting in a flood of errors around Sized or other ubiquitously used traits. I would say the most valuable UX change would be to reprint or otherwise draw attention to the very first error , which is the one most likely to be accurate and relevant.

Discussion in the ATmosphere

Loading comments...