|
1 | 1 | error[E0658]: the `!` type is experimental |
2 | | - --> $DIR/feature-gate-never_type.rs:7:17 |
| 2 | + --> $DIR/feature-gate-never_type.rs:23:21 |
3 | 3 | | |
4 | | -LL | type Ma = (u32, !, i32); |
5 | | - | ^ |
| 4 | +LL | type Ma = (u32, !, i32); |
| 5 | + | ^ |
6 | 6 | | |
7 | 7 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
8 | 8 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
9 | 9 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
10 | 10 |
|
11 | 11 | error[E0658]: the `!` type is experimental |
12 | | - --> $DIR/feature-gate-never_type.rs:8:20 |
| 12 | + --> $DIR/feature-gate-never_type.rs:24:24 |
13 | 13 | | |
14 | | -LL | type Meeshka = Vec<!>; |
15 | | - | ^ |
| 14 | +LL | type Meeshka = Vec<!>; |
| 15 | + | ^ |
16 | 16 | | |
17 | 17 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
18 | 18 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
19 | 19 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
20 | 20 |
|
21 | 21 | error[E0658]: the `!` type is experimental |
22 | | - --> $DIR/feature-gate-never_type.rs:9:24 |
| 22 | + --> $DIR/feature-gate-never_type.rs:25:28 |
23 | 23 | | |
24 | | -LL | type Mow = &'static fn(!) -> !; |
25 | | - | ^ |
| 24 | +LL | type Mow = &'static fn(!) -> !; |
| 25 | + | ^ |
26 | 26 | | |
27 | 27 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
28 | 28 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
29 | 29 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
30 | 30 |
|
31 | 31 | error[E0658]: the `!` type is experimental |
32 | | - --> $DIR/feature-gate-never_type.rs:10:27 |
| 32 | + --> $DIR/feature-gate-never_type.rs:26:31 |
33 | 33 | | |
34 | | -LL | type Skwoz = &'static mut !; |
35 | | - | ^ |
| 34 | +LL | type Skwoz = &'static mut !; |
| 35 | + | ^ |
36 | 36 | | |
37 | 37 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
38 | 38 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
39 | 39 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
40 | 40 |
|
41 | 41 | error[E0658]: the `!` type is experimental |
42 | | - --> $DIR/feature-gate-never_type.rs:13:16 |
| 42 | + --> $DIR/feature-gate-never_type.rs:27:36 |
43 | 43 | | |
44 | | -LL | type Wub = !; |
45 | | - | ^ |
| 44 | +LL | type Meow = fn() -> Result<(), !>; |
| 45 | + | ^ |
46 | 46 | | |
47 | 47 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
48 | 48 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
49 | 49 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
50 | 50 |
|
51 | 51 | error[E0658]: the `!` type is experimental |
52 | | - --> $DIR/feature-gate-never_type.rs:16:43 |
| 52 | + --> $DIR/feature-gate-never_type.rs:30:20 |
53 | 53 | | |
54 | | -LL | fn look_ma_no_feature_gate<F: FnOnce() -> !>() {} |
55 | | - | ^ |
| 54 | +LL | type Wub = !; |
| 55 | + | ^ |
56 | 56 | | |
57 | 57 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
58 | 58 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
59 | 59 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
60 | 60 |
|
61 | 61 | error[E0658]: the `!` type is experimental |
62 | | - --> $DIR/feature-gate-never_type.rs:17:26 |
| 62 | + --> $DIR/feature-gate-never_type.rs:33:47 |
63 | 63 | | |
64 | | -LL | fn tadam(f: &dyn Fn() -> !) {} |
65 | | - | ^ |
| 64 | +LL | fn look_ma_no_feature_gate<F: FnOnce() -> !>() {} |
| 65 | + | ^ |
66 | 66 | | |
67 | 67 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
68 | 68 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
69 | 69 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
70 | 70 |
|
71 | 71 | error[E0658]: the `!` type is experimental |
72 | | - --> $DIR/feature-gate-never_type.rs:21:30 |
| 72 | + --> $DIR/feature-gate-never_type.rs:35:30 |
73 | 73 | | |
74 | | -LL | fn toudoum() -> impl Fn() -> ! { |
| 74 | +LL | fn tadam(f: &dyn Fn() -> !) {} |
75 | 75 | | ^ |
76 | 76 | | |
77 | 77 | = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
78 | 78 | = help: add `#![feature(never_type)]` to the crate attributes to enable |
79 | 79 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
80 | 80 |
|
81 | | -error: aborting due to 8 previous errors |
| 81 | +error[E0658]: the `!` type is experimental |
| 82 | + --> $DIR/feature-gate-never_type.rs:37:34 |
| 83 | + | |
| 84 | +LL | fn toudoum() -> impl Fn() -> ! { |
| 85 | + | ^ |
| 86 | + | |
| 87 | + = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
| 88 | + = help: add `#![feature(never_type)]` to the crate attributes to enable |
| 89 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 90 | + |
| 91 | +error[E0658]: the `!` type is experimental |
| 92 | + --> $DIR/feature-gate-never_type.rs:41:35 |
| 93 | + | |
| 94 | +LL | fn infallible() -> Result<(), !> { |
| 95 | + | ^ |
| 96 | + | |
| 97 | + = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information |
| 98 | + = help: add `#![feature(never_type)]` to the crate attributes to enable |
| 99 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 100 | + |
| 101 | +error: aborting due to 10 previous errors |
82 | 102 |
|
83 | 103 | For more information about this error, try `rustc --explain E0658`. |
0 commit comments