@@ -4,82 +4,102 @@ warning: never type fallback affects this call to an `unsafe` function
44LL | unsafe { mem::zeroed() }
55 | ^^^^^^^^^^^^^
66 |
7+ = warning: this will change its meaning in a future release!
8+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
79 = help: specify the type explicitly
810 = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
911
1012warning: never type fallback affects this call to an `unsafe` function
11- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:22 :13
13+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:23 :13
1214 |
1315LL | core::mem::transmute(Zst)
1416 | ^^^^^^^^^^^^^^^^^^^^^^^^^
1517 |
18+ = warning: this will change its meaning in a future release!
19+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
1620 = help: specify the type explicitly
1721
1822warning: never type fallback affects this union access
19- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:37 :18
23+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:39 :18
2024 |
2125LL | unsafe { Union { a: () }.b }
2226 | ^^^^^^^^^^^^^^^^^
2327 |
28+ = warning: this will change its meaning in a future release!
29+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
2430 = help: specify the type explicitly
2531
2632warning: never type fallback affects this raw pointer dereference
27- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:46 :18
33+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:49 :18
2834 |
2935LL | unsafe { *ptr::from_ref(&()).cast() }
3036 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
3137 |
38+ = warning: this will change its meaning in a future release!
39+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
3240 = help: specify the type explicitly
3341
3442warning: never type fallback affects this call to an `unsafe` function
35- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:63 :18
43+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:67 :18
3644 |
3745LL | unsafe { internally_create(x) }
3846 | ^^^^^^^^^^^^^^^^^^^^
3947 |
48+ = warning: this will change its meaning in a future release!
49+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
4050 = help: specify the type explicitly
4151
4252warning: never type fallback affects this call to an `unsafe` function
43- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:77 :18
53+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:83 :18
4454 |
4555LL | unsafe { zeroed() }
4656 | ^^^^^^^^
4757 |
58+ = warning: this will change its meaning in a future release!
59+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
4860 = help: specify the type explicitly
4961
5062warning: never type fallback affects this `unsafe` function
51- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:74 :22
63+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:79 :22
5264 |
5365LL | let zeroed = mem::zeroed;
5466 | ^^^^^^^^^^^
5567 |
68+ = warning: this will change its meaning in a future release!
69+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
5670 = help: specify the type explicitly
5771
5872warning: never type fallback affects this `unsafe` function
59- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:91 :17
73+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:98 :17
6074 |
6175LL | let f = internally_create;
6276 | ^^^^^^^^^^^^^^^^^
6377 |
78+ = warning: this will change its meaning in a future release!
79+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
6480 = help: specify the type explicitly
6581
6682warning: never type fallback affects this call to an `unsafe` method
67- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:114 :13
83+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:122 :13
6884 |
6985LL | S(marker::PhantomData).create_out_of_thin_air()
7086 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7187 |
88+ = warning: this will change its meaning in a future release!
89+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
7290 = help: specify the type explicitly
7391
7492warning: never type fallback affects this call to an `unsafe` function
75- --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:130 :19
93+ --> $DIR/lint-never-type-fallback-flowing-into-unsafe.rs:139 :19
7694 |
7795LL | match send_message::<_ /* ?0 */>() {
7896 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7997...
8098LL | msg_send!();
8199 | ----------- in this macro invocation
82100 |
101+ = warning: this will change its meaning in a future release!
102+ = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
83103 = help: specify the type explicitly
84104 = note: this warning originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
85105
0 commit comments