fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0609]: no field `d` on type `&A` 2 --> $DIR/struct-pat-derived-error.rs:8:31 3 | 4LL | let A { x, y } = self.d; 5 | ^ 6 7error[E0026]: struct `A` does not have fields named `x`, `y` 8 --> $DIR/struct-pat-derived-error.rs:8:17 9 | 10LL | let A { x, y } = self.d; 11 | ^ ^ struct `A` does not have these fields 12 13error[E0027]: pattern does not mention fields `b`, `c` 14 --> $DIR/struct-pat-derived-error.rs:8:13 15 | 16LL | let A { x, y } = self.d; 17 | ^^^^^^^^^^ missing fields `b`, `c` 18 19error: aborting due to 3 previous errors 20 21Some errors have detailed explanations: E0026, E0027, E0609. 22For more information about an error, try `rustc --explain E0026`.