diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/cast/issue-89497.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/cast/issue-89497.stderr b/tests/ui/cast/issue-89497.stderr index bf3c3537f..1208ca45d 100644 --- a/tests/ui/cast/issue-89497.stderr +++ b/tests/ui/cast/issue-89497.stderr @@ -10,6 +10,6 @@ LL - let _reference: &'static i32 = unsafe { pointer as *const i32 as &'stat LL + let _reference: &'static i32 = unsafe { &*(pointer as *const i32) }; | -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0605`. |