diff options
Diffstat (limited to 'tests/ui/consts/const-deref-ptr.stderr')
-rw-r--r-- | tests/ui/consts/const-deref-ptr.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/const-deref-ptr.stderr b/tests/ui/consts/const-deref-ptr.stderr index 16eb6b016..b102b4d17 100644 --- a/tests/ui/consts/const-deref-ptr.stderr +++ b/tests/ui/consts/const-deref-ptr.stderr @@ -4,6 +4,6 @@ error[E0080]: could not evaluate static initializer LL | static C: u64 = unsafe {*(0xdeadbeef as *const u64)}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ memory access failed: 0xdeadbeef[noalloc] is a dangling pointer (it has no provenance) -error: aborting due to previous error +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0080`. |