]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/bad-const-type.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[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); }