1 2 3 4 5 6
fn main() { const FOO = "hello" + 1; //~^ ERROR cannot add `{integer}` to `&str` //~| ERROR missing type for `const` item println!("{}", FOO); }