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