]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsafe/unsafe-fn-autoderef.stderr
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / unsafe / unsafe-fn-autoderef.stderr
1 error[E0609]: no field `f` on type `*const Rec`
2   --> $DIR/unsafe-fn-autoderef.rs:19:14
3    |
4 LL |     return p.f;
5    |            --^
6    |            |
7    |            help: `p` is a raw pointer; try dereferencing it: `(*p).f`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0609`.