]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | error[E0369]: cannot add `{integer}` to `&str` |
2 | --> $DIR/issue-79040.rs:2:25 | |
3 | | | |
4 | LL | const FOO = "hello" + 1; | |
5 | | ------- ^ - {integer} | |
6 | | | | |
7 | | &str | |
8 | ||
9 | error[E0369]: cannot add `{integer}` to `&str` | |
10 | --> $DIR/issue-79040.rs:2:25 | |
11 | | | |
12 | LL | const FOO = "hello" + 1; | |
13 | | ------- ^ - {integer} | |
14 | | | | |
15 | | &str | |
16 | ||
17 | error: aborting due to 2 previous errors | |
18 | ||
19 | For more information about this error, try `rustc --explain E0369`. |