about summary refs log tree commit diff
path: root/tests/ui-fulldeps/try-from-u32/errors.stderr
blob: d20567061d7bb1b89cefb18cfd1513cebccf528a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error: type is not an enum (TryFromU32)
  --> $DIR/errors.rs:11:1
   |
LL | struct MyStruct {}
   | ^^^^^^

error: enum variant cannot have fields (TryFromU32)
  --> $DIR/errors.rs:18:7
   |
LL |     D(bool),
   |       ^^^^

error: enum variant cannot have fields (TryFromU32)
  --> $DIR/errors.rs:19:7
   |
LL |     E(bool, bool),
   |       ^^^^

error: enum variant cannot have fields (TryFromU32)
  --> $DIR/errors.rs:20:9
   |
LL |     F { x: bool },
   |         ^

error: enum variant cannot have fields (TryFromU32)
  --> $DIR/errors.rs:21:9
   |
LL |     G { x: bool, y: bool },
   |         ^

error: aborting due to 5 previous errors