]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24363.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-24363.stderr
1 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2   --> $DIR/issue-24363.rs:2:7
3    |
4 LL |     1.create_a_type_error[ //~ `{integer}` is a primitive type and therefore doesn't have fields
5    |       ^^^^^^^^^^^^^^^^^^^
6
7 error[E0369]: binary operation `+` cannot be applied to type `()`
8   --> $DIR/issue-24363.rs:3:9
9    |
10 LL |         ()+() //~ ERROR binary operation `+` cannot be applied
11    |         ^^^^^
12    |
13    = note: an implementation of `std::ops::Add` might be missing for `()`
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0369, E0610.
18 For more information about an error, try `rustc --explain E0369`.