summary refs log tree commit diff
path: root/src/test/ui/issues/issue-41394.stderr
blob: bc5c6e798e868f42d7b6f2cf895186d90a2a6777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0369]: binary operation `+` cannot be applied to type `&str`
  --> $DIR/issue-41394.rs:2:9
   |
LL |     A = "" + 1
   |         ^^^^^^
   |
   = note: an implementation of `std::ops::Add` might be missing for `&str`

error[E0080]: evaluation of constant value failed
  --> $DIR/issue-41394.rs:7:9
   |
LL |     A = Foo::A as isize
   |         ^^^^^^^^^^^^^^^ referenced constant has errors

error: aborting due to 2 previous errors

Some errors occurred: E0080, E0369.
For more information about an error, try `rustc --explain E0080`.