fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

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