LL | let s = S{0b1: 10, 0: 11};
| - ^^^ field does not exist
| |
- | `S` is a tuple struct, use the appropriate syntax: `S(/* fields */)`
+ | help: `S` is a tuple struct, use the appropriate syntax: `S(/* fields */)`
error[E0026]: struct `S` does not have a field named `0x1`
--> $DIR/numeric-fields.rs:7:17