1 error[E0609]: no field `x` on type `*mut A`
2 --> $DIR/issue-11004.rs:7:21
4 LL | let x : i32 = n.x;
7 | help: `n` is a raw pointer; try dereferencing it: `(*n).x`
9 error[E0609]: no field `y` on type `*mut A`
10 --> $DIR/issue-11004.rs:8:21
12 LL | let y : f64 = n.y;
15 | help: `n` is a raw pointer; try dereferencing it: `(*n).y`
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0609`.