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
595 B20 linesraw
1error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2  --> $DIR/issue-24363.rs:2:7
3   |
4LL |     1.create_a_type_error[
5   |       ^^^^^^^^^^^^^^^^^^^
6
7error[E0369]: binary operation `+` cannot be applied to type `()`
8  --> $DIR/issue-24363.rs:3:11
9   |
10LL |         ()+()
11   |         --^-- ()
12   |         |
13   |         ()
14   |
15   = note: an implementation of `std::ops::Add` might be missing for `()`
16
17error: aborting due to 2 previous errors
18
19Some errors have detailed explanations: E0369, E0610.
20For more information about an error, try `rustc --explain E0369`.