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