]> git.lizzy.rs Git - rust.git/blob - src/test/ui/bad/bad-const-type.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / bad / bad-const-type.rs
1 static i: String = 10;
2 //~^ ERROR mismatched types
3 //~| expected struct `std::string::String`, found integer
4 fn main() { println!("{}", i); }