1 2 3 4 5 6 7 8
#![warn(unused)] #![deny(warnings)] const foo: isize = 3; //~^ ERROR: should have an upper case name //~^^ ERROR: constant `foo` is never used fn main() {}