fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0609]: no field `x` on type `*mut A` 2 --> $DIR/issue-11004.rs:7:21 3 | 4LL | let x : i32 = n.x; 5 | --^ 6 | | 7 | help: `n` is a raw pointer; try dereferencing it: `(*n).x` 8 9error[E0609]: no field `y` on type `*mut A` 10 --> $DIR/issue-11004.rs:8:21 11 | 12LL | let y : f64 = n.y; 13 | --^ 14 | | 15 | help: `n` is a raw pointer; try dereferencing it: `(*n).y` 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0609`.