]> git.lizzy.rs Git - rust.git/blob - tests/ui/static/bad-const-type.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / 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); }