fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0369]: cannot add `{integer}` to `&str` 2 --> $DIR/issue-41394.rs:2:12 3 | 4LL | A = "" + 1 5 | -- ^ - {integer} 6 | | 7 | &str 8 9error[E0080]: evaluation of constant value failed 10 --> $DIR/issue-41394.rs:7:9 11 | 12LL | A = Foo::A as isize 13 | ^^^^^^^^^^^^^^^ referenced constant has errors 14 15error: aborting due to 2 previous errors 16 17Some errors have detailed explanations: E0080, E0369. 18For more information about an error, try `rustc --explain E0080`.