1 error[E0369]: binary operation `+` cannot be applied to type `&str`
2 --> $DIR/issue-41394.rs:2:12
9 = note: an implementation of `std::ops::Add` might be missing for `&str`
11 error[E0080]: evaluation of constant value failed
12 --> $DIR/issue-41394.rs:7:9
14 LL | A = Foo::A as isize
15 | ^^^^^^^^^^^^^^^ referenced constant has errors
17 error: aborting due to 2 previous errors
19 Some errors have detailed explanations: E0080, E0369.
20 For more information about an error, try `rustc --explain E0080`.