about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-24363.stderr
blob: 50d65e09bb1ccde49b1cb851cbf538d0468f4993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/issue-24363.rs:2:7
   |
LL |     1.create_a_type_error[
   |       ^^^^^^^^^^^^^^^^^^^

error[E0369]: binary operation `+` cannot be applied to type `()`
  --> $DIR/issue-24363.rs:3:11
   |
LL |         ()+()
   |         --^-- ()
   |         |
   |         ()
   |
   = note: an implementation of `std::ops::Add` might be missing for `()`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0369, E0610.
For more information about an error, try `rustc --explain E0369`.