@@ -4,6 +4,8 @@ warning: never type fallback affects this call to an `unsafe` function
4
4
LL | unsafe { mem::zeroed() }
5
5
| ^^^^^^^^^^^^^
6
6
|
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>
7
9
= help: specify the type explicitly
8
10
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
9
11
@@ -13,6 +15,8 @@ warning: never type fallback affects this call to an `unsafe` function
13
15
LL | core::mem::transmute(Zst)
14
16
| ^^^^^^^^^^^^^^^^^^^^^^^^^
15
17
|
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>
16
20
= help: specify the type explicitly
17
21
18
22
warning: never type fallback affects this union access
@@ -21,6 +25,8 @@ warning: never type fallback affects this union access
21
25
LL | unsafe { Union { a: () }.b }
22
26
| ^^^^^^^^^^^^^^^^^
23
27
|
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>
24
30
= help: specify the type explicitly
25
31
26
32
warning: never type fallback affects this raw pointer dereference
@@ -29,6 +35,8 @@ warning: never type fallback affects this raw pointer dereference
29
35
LL | unsafe { *ptr::from_ref(&()).cast() }
30
36
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
31
37
|
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>
32
40
= help: specify the type explicitly
33
41
34
42
warning: never type fallback affects this call to an `unsafe` function
@@ -37,6 +45,8 @@ warning: never type fallback affects this call to an `unsafe` function
37
45
LL | unsafe { internally_create(x) }
38
46
| ^^^^^^^^^^^^^^^^^^^^
39
47
|
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>
40
50
= help: specify the type explicitly
41
51
42
52
warning: never type fallback affects this call to an `unsafe` function
@@ -45,6 +55,8 @@ warning: never type fallback affects this call to an `unsafe` function
45
55
LL | unsafe { zeroed() }
46
56
| ^^^^^^^^
47
57
|
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>
48
60
= help: specify the type explicitly
49
61
50
62
warning: never type fallback affects this `unsafe` function
@@ -53,6 +65,8 @@ warning: never type fallback affects this `unsafe` function
53
65
LL | let zeroed = mem::zeroed;
54
66
| ^^^^^^^^^^^
55
67
|
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>
56
70
= help: specify the type explicitly
57
71
58
72
warning: never type fallback affects this `unsafe` function
@@ -61,6 +75,8 @@ warning: never type fallback affects this `unsafe` function
61
75
LL | let f = internally_create;
62
76
| ^^^^^^^^^^^^^^^^^
63
77
|
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>
64
80
= help: specify the type explicitly
65
81
66
82
warning: never type fallback affects this call to an `unsafe` method
@@ -69,6 +85,8 @@ warning: never type fallback affects this call to an `unsafe` method
69
85
LL | S(marker::PhantomData).create_out_of_thin_air()
70
86
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
87
|
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>
72
90
= help: specify the type explicitly
73
91
74
92
warning: never type fallback affects this call to an `unsafe` function
@@ -80,6 +98,8 @@ LL | match send_message::<_ /* ?0 */>() {
80
98
LL | msg_send!();
81
99
| ----------- in this macro invocation
82
100
|
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>
83
103
= help: specify the type explicitly
84
104
= note: this warning originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
85
105
0 commit comments