summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-never_type.stderr
blob: 0a59cae9c8c46d2f4e0c3d96067af0ada1f32a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
error[E0658]: the `!` type is experimental
  --> $DIR/feature-gate-never_type.rs:7:17
   |
LL | type Ma = (u32, !, i32);
   |                 ^
   |
   = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
   = help: add `#![feature(never_type)]` to the crate attributes to enable

error[E0658]: the `!` type is experimental
  --> $DIR/feature-gate-never_type.rs:8:20
   |
LL | type Meeshka = Vec<!>;
   |                    ^
   |
   = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
   = help: add `#![feature(never_type)]` to the crate attributes to enable

error[E0658]: the `!` type is experimental
  --> $DIR/feature-gate-never_type.rs:9:24
   |
LL | type Mow = &'static fn(!) -> !;
   |                        ^
   |
   = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
   = help: add `#![feature(never_type)]` to the crate attributes to enable

error[E0658]: the `!` type is experimental
  --> $DIR/feature-gate-never_type.rs:10:27
   |
LL | type Skwoz = &'static mut !;
   |                           ^
   |
   = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
   = help: add `#![feature(never_type)]` to the crate attributes to enable

error[E0658]: the `!` type is experimental
  --> $DIR/feature-gate-never_type.rs:13:16
   |
LL |     type Wub = !;
   |                ^
   |
   = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information
   = help: add `#![feature(never_type)]` to the crate attributes to enable

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0658`.