1 //! A test to ensure that helpful `note` messages aren't emitted more often
6 // Although there are three warnings, we should only get two "lint level defined
7 // here" notes pointing at the `warnings` span, one for each error type.
12 let theTwo = 2; //~ WARN should have a snake case name
13 let theOtherTwo = 2; //~ WARN should have a snake case name
14 //~^ WARN unused variable
15 println!("{}", theTwo);