67f455afe1
When constant evaluation fails because its MIR is tainted by errors, suppress note indicating that erroneous constant was used, since those errors have to be fixed regardless of the constant being used or not.
12 lines
274 B
Plaintext
12 lines
274 B
Plaintext
error[E0369]: cannot add `{integer}` to `&str`
|
|
--> $DIR/issue-41394.rs:2:12
|
|
|
|
|
LL | A = "" + 1
|
|
| -- ^ - {integer}
|
|
| |
|
|
| &str
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|