]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0063.stderr
Rollup merge of #106940 - oli-obk:tait_error, r=compiler-errors
[rust.git] / tests / ui / error-codes / E0063.stderr
1 error[E0063]: missing field `x` in initializer of `SingleFoo`
2   --> $DIR/E0063.rs:30:13
3    |
4 LL |     let w = SingleFoo { };
5    |             ^^^^^^^^^ missing `x`
6
7 error[E0063]: missing fields `y` and `z` in initializer of `PluralFoo`
8   --> $DIR/E0063.rs:32:13
9    |
10 LL |     let x = PluralFoo {x: 1};
11    |             ^^^^^^^^^ missing `y` and `z`
12
13 error[E0063]: missing fields `a`, `b`, `y` and 1 other field in initializer of `TruncatedFoo`
14   --> $DIR/E0063.rs:34:13
15    |
16 LL |     let y = TruncatedFoo{x:1};
17    |             ^^^^^^^^^^^^ missing `a`, `b`, `y` and 1 other field
18
19 error[E0063]: missing fields `a`, `b`, `c` and 2 other fields in initializer of `TruncatedPluralFoo`
20   --> $DIR/E0063.rs:36:13
21    |
22 LL |     let z = TruncatedPluralFoo{x:1};
23    |             ^^^^^^^^^^^^^^^^^^ missing `a`, `b`, `c` and 2 other fields
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0063`.