]> git.lizzy.rs Git - rust.git/blob - src/test/ui/numeric/numeric-fields.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / numeric / numeric-fields.stderr
1 error[E0560]: struct `S` has no field named `0b1`
2   --> $DIR/numeric-fields.rs:14:15
3    |
4 LL |     let s = S{0b1: 10, 0: 11};
5    |               ^^^ `S` does not have this field
6    |
7    = note: available fields are: `0`, `1`
8
9 error[E0026]: struct `S` does not have a field named `0x1`
10   --> $DIR/numeric-fields.rs:17:17
11    |
12 LL |         S{0: a, 0x1: b, ..} => {}
13    |                 ^^^^^^ struct `S` does not have this field
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0026, E0560.
18 For more information about an error, try `rustc --explain E0026`.