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 abdba81 commit bcf622bCopy full SHA for bcf622b
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
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ inbounds test failed: 0x0 is not a valid pointer
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ null pointer is not allowed for this operation
300
301
error[E0080]: could not evaluate static initializer
302
--> $DIR/ub-wide-ptr.rs:139:5
0 commit comments