]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0609]: no field `f` on type `*const Rec` |
0731742a | 2 | --> $DIR/unsafe-fn-autoderef.rs:19:14 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | return p.f; |
0731742a XL |
5 | | --^ |
6 | | | | |
7 | | help: `p` is a raw pointer; try dereferencing it: `(*p).f` | |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0609`. |