summaryrefslogtreecommitdiffstats
path: root/tests/ui/unsafe/unsafe-fn-autoderef.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/unsafe/unsafe-fn-autoderef.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/unsafe/unsafe-fn-autoderef.stderr b/tests/ui/unsafe/unsafe-fn-autoderef.stderr
index 20a88c356..c3ab80202 100644
--- a/tests/ui/unsafe/unsafe-fn-autoderef.stderr
+++ b/tests/ui/unsafe/unsafe-fn-autoderef.stderr
@@ -3,9 +3,10 @@ error[E0609]: no field `f` on type `*const Rec`
|
LL | return p.f;
| --^
- | |
+ | | |
+ | | unknown field
| help: `p` is a raw pointer; try dereferencing it: `(*p).f`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0609`.