rust/tests/ui/enum-discriminant/issue-41394.stderr

12 lines
274 B
Plaintext
Raw Normal View History

2019-12-10 15:03:13 -06:00
error[E0369]: cannot add `{integer}` to `&str`
--> $DIR/issue-41394.rs:2:12
2018-07-15 16:11:54 -05:00
|
LL | A = "" + 1
| -- ^ - {integer}
| |
| &str
2018-07-15 16:11:54 -05:00
error: aborting due to previous error
2018-07-15 16:11:54 -05:00
For more information about this error, try `rustc --explain E0369`.