1 error[E0369]: cannot add `{integer}` to `&str`
2 --> $DIR/issue-79040.rs:2:25
4 LL | const FOO = "hello" + 1;
5 | ------- ^ - {integer}
9 error: missing type for `const` item
10 --> $DIR/issue-79040.rs:2:11
12 LL | const FOO = "hello" + 1;
13 | ^^^ help: provide a type for the item: `FOO: <type>`
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0369`.