blob: fe8dc45346186ddc7dc7352af2816838812c86e9 [file] [log] [blame]
fn main() {
const FOO = "hello" + 1;
//~^ ERROR cannot add `{integer}` to `&str`
//~| ERROR missing type for `const` item
println!("{}", FOO);
}