18 lines
398 B
Plaintext
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`.
|