@@ -294,7 +294,7 @@ LL | let _val: NonNull<i32> = mem::zeroed();
294294 | this code causes undefined behavior when executed
295295 | help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
296296 |
297- = note: `NonNull<i32>` must be non-null
297+ = note: `std::ptr:: NonNull<i32>` must be non-null
298298
299299error: the type `NonNull<i32>` does not permit being left uninitialized
300300 --> $DIR/uninitialized-zeroed.rs:80:34
@@ -305,7 +305,7 @@ LL | let _val: NonNull<i32> = mem::uninitialized();
305305 | this code causes undefined behavior when executed
306306 | help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
307307 |
308- = note: `NonNull<i32>` must be non-null
308+ = note: `std::ptr:: NonNull<i32>` must be non-null
309309
310310error: the type `*const dyn Send` does not permit zero-initialization
311311 --> $DIR/uninitialized-zeroed.rs:82:37
@@ -415,7 +415,7 @@ LL | let _val: NonZeroU32 = mem::transmute(0);
415415 | this code causes undefined behavior when executed
416416 | help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
417417 |
418- = note: `NonZeroU32` must be non-null
418+ = note: `std::num:: NonZeroU32` must be non-null
419419
420420error: the type `NonNull<i32>` does not permit zero-initialization
421421 --> $DIR/uninitialized-zeroed.rs:104:34
@@ -426,7 +426,7 @@ LL | let _val: NonNull<i32> = MaybeUninit::zeroed().assume_init();
426426 | this code causes undefined behavior when executed
427427 | help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
428428 |
429- = note: `NonNull<i32>` must be non-null
429+ = note: `std::ptr:: NonNull<i32>` must be non-null
430430
431431error: the type `NonNull<i32>` does not permit being left uninitialized
432432 --> $DIR/uninitialized-zeroed.rs:105:34
@@ -437,7 +437,7 @@ LL | let _val: NonNull<i32> = MaybeUninit::uninit().assume_init();
437437 | this code causes undefined behavior when executed
438438 | help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
439439 |
440- = note: `NonNull<i32>` must be non-null
440+ = note: `std::ptr:: NonNull<i32>` must be non-null
441441
442442error: the type `bool` does not permit being left uninitialized
443443 --> $DIR/uninitialized-zeroed.rs:106:26
0 commit comments