We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93a146 commit a76e5b1Copy full SHA for a76e5b1
src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr
@@ -296,7 +296,7 @@ error[E0080]: could not evaluate static initializer
296
--> $DIR/ub-wide-ptr.rs:135:5
297
|
298
LL | mem::transmute::<_, &dyn Trait>((&92u8, 0usize))
299
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ null pointer is not a valid pointer for this operation
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ memory access failed: null pointer is not a valid pointer
300
301
error[E0080]: could not evaluate static initializer
302
--> $DIR/ub-wide-ptr.rs:139:5
0 commit comments