]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-11004.stderr
Rollup merge of #53311 - RalfJung:windows-mutex, r=retep998
[rust.git] / src / test / ui / issues / issue-11004.stderr
1 error[E0609]: no field `x` on type `*mut A`
2   --> $DIR/issue-11004.rs:17:21
3    |
4 LL |     let x : i32 = n.x; //~ no field `x` on type `*mut A`
5    |                     ^ help: `n` is a native pointer; try dereferencing it: `(*n).x`
6
7 error[E0609]: no field `y` on type `*mut A`
8   --> $DIR/issue-11004.rs:18:21
9    |
10 LL |     let y : f64 = n.y; //~ no field `y` on type `*mut A`
11    |                     ^ help: `n` is a native pointer; try dereferencing it: `(*n).y`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0609`.