@@ -53,7 +53,7 @@ LL | const BAD_OPTION_CHAR: Option<(char, char)> = Some(('x', unsafe { mem::tran
5353 78 00 00 00 ff ff ff ff │ x.......
5454 }
5555
56- error[E0080]: constructing invalid value at .pointer : encountered 0, but expected something greater or equal to 1
56+ error[E0080]: constructing invalid value: encountered 0, but expected something greater or equal to 1
5757 --> $DIR/raw-bytes.rs:58:1
5858 |
5959LL | const NULL_PTR: NonNull<u8> = unsafe { mem::transmute(0usize) };
@@ -64,7 +64,7 @@ LL | const NULL_PTR: NonNull<u8> = unsafe { mem::transmute(0usize) };
6464 00 00 00 00 00 00 00 00 │ ........
6565 }
6666
67- error[E0080]: constructing invalid value at .0.0 : encountered 0, but expected something greater or equal to 1
67+ error[E0080]: constructing invalid value at .0: encountered 0, but expected something greater or equal to 1
6868 --> $DIR/raw-bytes.rs:61:1
6969 |
7070LL | const NULL_U8: NonZero<u8> = unsafe { mem::transmute(0u8) };
@@ -75,7 +75,7 @@ LL | const NULL_U8: NonZero<u8> = unsafe { mem::transmute(0u8) };
7575 00 │ .
7676 }
7777
78- error[E0080]: constructing invalid value at .0.0 : encountered 0, but expected something greater or equal to 1
78+ error[E0080]: constructing invalid value at .0: encountered 0, but expected something greater or equal to 1
7979 --> $DIR/raw-bytes.rs:63:1
8080 |
8181LL | const NULL_USIZE: NonZero<usize> = unsafe { mem::transmute(0usize) };
@@ -108,7 +108,7 @@ LL | const BAD_RANGE2: RestrictedRange2 = unsafe { RestrictedRange2(20) };
108108 14 00 00 00 │ ....
109109 }
110110
111- error[E0080]: constructing invalid value at .pointer : encountered 0, but expected something greater or equal to 1
111+ error[E0080]: constructing invalid value: encountered 0, but expected something greater or equal to 1
112112 --> $DIR/raw-bytes.rs:78:1
113113 |
114114LL | const NULL_FAT_PTR: NonNull<dyn Send> = unsafe {
0 commit comments