]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/bad-const-type.rs
Rollup merge of #102239 - joshtriplett:style-guide, r=calebcartwright
[rust.git] / src / test / ui / static / bad-const-type.rs
1 static i: String = 10;
2 //~^ ERROR mismatched types
3 //~| expected struct `String`, found integer
4 fn main() { println!("{}", i); }