mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
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`.
|