rust icon indicating copy to clipboard operation
rust copied to clipboard

Lint warnings should explain how to disable them

Open brson opened this issue 14 years ago • 1 comments

The first time a warning trips it should emit a note explaining which lint setting caused it and possibly how to change it.

brson avatar Sep 18 '12 19:09 brson

I am working on this.

I will follow GCC for formatting. That is:

test.rs:2:5: 2:8 warning: unused variable: `var` [-Wunused-variable]
test.rs:2       let var = 1;
                    ^~~

sammykim avatar May 07 '13 07:05 sammykim