fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0027]: pattern does not mention field `unstable` 2 --> $DIR/unstable-gated-fields.rs:10:9 3 | 4LL | let UnstableStruct { stable, stable2, } = UnstableStruct::default(); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `unstable` 6 | 7help: include the missing field in the pattern 8 | 9LL | let UnstableStruct { stable, stable2, unstable } = UnstableStruct::default(); 10 | ~~~~~~~~~~~~ 11help: if you don't care about this missing field, you can explicitly ignore it 12 | 13LL | let UnstableStruct { stable, stable2, .. } = UnstableStruct::default(); 14 | ~~~~~~ 15 16error[E0027]: pattern does not mention field `stable2` 17 --> $DIR/unstable-gated-fields.rs:13:9 18 | 19LL | let UnstableStruct { stable, unstable, } = UnstableStruct::default(); 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `stable2` 21 | 22help: include the missing field in the pattern 23 | 24LL | let UnstableStruct { stable, unstable, stable2 } = UnstableStruct::default(); 25 | ~~~~~~~~~~~ 26help: if you don't care about this missing field, you can explicitly ignore it 27 | 28LL | let UnstableStruct { stable, unstable, .. } = UnstableStruct::default(); 29 | ~~~~~~ 30 31error: aborting due to 2 previous errors 32 33For more information about this error, try `rustc --explain E0027`.