rust/tests/ui/issues/issue-41394.stderr
2023-01-11 09:32:08 +00:00

18 lines
398 B
Plaintext

error[E0369]: cannot add `{integer}` to `&str`
--> $DIR/issue-41394.rs:2:12
|
LL | A = "" + 1
| -- ^ - {integer}
| |
| &str
note: erroneous constant used
--> $DIR/issue-41394.rs:7:9
|
LL | A = Foo::A as isize
| ^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0369`.