]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-never_type.stderr
Rollup merge of #94452 - workingjubilee:sync-simd-bitmasks, r=workingjubilee
[rust.git] / src / test / ui / feature-gates / feature-gate-never_type.stderr
1 error[E0658]: the `!` type is experimental
2   --> $DIR/feature-gate-never_type.rs:7:17
3    |
4 LL | type Ma = (u32, !, i32);
5    |                 ^
6    |
7    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
8    = help: add `#![feature(never_type)]` to the crate attributes to enable
9
10 error[E0658]: the `!` type is experimental
11   --> $DIR/feature-gate-never_type.rs:8:20
12    |
13 LL | type Meeshka = Vec<!>;
14    |                    ^
15    |
16    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
17    = help: add `#![feature(never_type)]` to the crate attributes to enable
18
19 error[E0658]: the `!` type is experimental
20   --> $DIR/feature-gate-never_type.rs:9:24
21    |
22 LL | type Mow = &'static fn(!) -> !;
23    |                        ^
24    |
25    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
26    = help: add `#![feature(never_type)]` to the crate attributes to enable
27
28 error[E0658]: the `!` type is experimental
29   --> $DIR/feature-gate-never_type.rs:10:27
30    |
31 LL | type Skwoz = &'static mut !;
32    |                           ^
33    |
34    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
35    = help: add `#![feature(never_type)]` to the crate attributes to enable
36
37 error[E0658]: the `!` type is experimental
38   --> $DIR/feature-gate-never_type.rs:13:16
39    |
40 LL |     type Wub = !;
41    |                ^
42    |
43    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
44    = help: add `#![feature(never_type)]` to the crate attributes to enable
45
46 error: aborting due to 5 previous errors
47
48 For more information about this error, try `rustc --explain E0658`.