summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-41394.stderr
blob: 1b5c64628a1557b0e1757a96d047eaf766abf302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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`.