Skip to content

Commit d913b16

Browse files
committed
bless tests
1 parent a02db86 commit d913b16

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/ui/never_type/lint-never-type-fallback-flowing-into-unsafe.stderr

+20
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ warning: never type fallback affects this call to an `unsafe` function
44
LL | 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

@@ -13,6 +15,8 @@ warning: never type fallback affects this call to an `unsafe` function
1315
LL | 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

1822
warning: never type fallback affects this union access
@@ -21,6 +25,8 @@ warning: never type fallback affects this union access
2125
LL | 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

2632
warning: never type fallback affects this raw pointer dereference
@@ -29,6 +35,8 @@ warning: never type fallback affects this raw pointer dereference
2935
LL | 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

3442
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
3745
LL | 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

4252
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
4555
LL | 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

5062
warning: never type fallback affects this `unsafe` function
@@ -53,6 +65,8 @@ warning: never type fallback affects this `unsafe` function
5365
LL | 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

5872
warning: never type fallback affects this `unsafe` function
@@ -61,6 +75,8 @@ warning: never type fallback affects this `unsafe` function
6175
LL | 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

6682
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
6985
LL | 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

7492
warning: never type fallback affects this call to an `unsafe` function
@@ -80,6 +98,8 @@ LL | match send_message::<_ /* ?0 */>() {
8098
LL | 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

Comments
 (0)