|
1 |
| -error[E0658]: use of unstable library feature `core_pattern_type` |
| 1 | +error[E0658]: use of unstable library feature `pattern_type_macro` |
2 | 2 | --> $DIR/feature-gate-pattern_types.rs:5:19
|
3 | 3 | |
|
4 | 4 | LL | type NonNullU32 = pattern_type!(u32 is 1..);
|
5 | 5 | | ^^^^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: see issue #123646 <https://github.com/rust-lang/rust/issues/123646> for more information
|
8 |
| - = help: add `#![feature(core_pattern_type)]` to the crate attributes to enable |
| 8 | + = help: add `#![feature(pattern_type_macro)]` 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 |
| -error[E0658]: use of unstable library feature `core_pattern_type` |
| 11 | +error[E0658]: use of unstable library feature `pattern_type_macro` |
12 | 12 | --> $DIR/feature-gate-pattern_types.rs:7:16
|
13 | 13 | |
|
14 | 14 | LL | type Percent = pattern_type!(u32 is 0..=100);
|
15 | 15 | | ^^^^^^^^^^^^
|
16 | 16 | |
|
17 | 17 | = note: see issue #123646 <https://github.com/rust-lang/rust/issues/123646> for more information
|
18 |
| - = help: add `#![feature(core_pattern_type)]` to the crate attributes to enable |
| 18 | + = help: add `#![feature(pattern_type_macro)]` 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 |
| -error[E0658]: use of unstable library feature `core_pattern_type` |
| 21 | +error[E0658]: use of unstable library feature `pattern_type_macro` |
22 | 22 | --> $DIR/feature-gate-pattern_types.rs:9:17
|
23 | 23 | |
|
24 | 24 | LL | type Negative = pattern_type!(i32 is ..=0);
|
25 | 25 | | ^^^^^^^^^^^^
|
26 | 26 | |
|
27 | 27 | = note: see issue #123646 <https://github.com/rust-lang/rust/issues/123646> for more information
|
28 |
| - = help: add `#![feature(core_pattern_type)]` to the crate attributes to enable |
| 28 | + = help: add `#![feature(pattern_type_macro)]` 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 |
| -error[E0658]: use of unstable library feature `core_pattern_type` |
| 31 | +error[E0658]: use of unstable library feature `pattern_type_macro` |
32 | 32 | --> $DIR/feature-gate-pattern_types.rs:11:17
|
33 | 33 | |
|
34 | 34 | LL | type Positive = pattern_type!(i32 is 0..);
|
35 | 35 | | ^^^^^^^^^^^^
|
36 | 36 | |
|
37 | 37 | = note: see issue #123646 <https://github.com/rust-lang/rust/issues/123646> for more information
|
38 |
| - = help: add `#![feature(core_pattern_type)]` to the crate attributes to enable |
| 38 | + = help: add `#![feature(pattern_type_macro)]` 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 |
| -error[E0658]: use of unstable library feature `core_pattern_type` |
| 41 | +error[E0658]: use of unstable library feature `pattern_type_macro` |
42 | 42 | --> $DIR/feature-gate-pattern_types.rs:13:15
|
43 | 43 | |
|
44 | 44 | LL | type Always = pattern_type!(Option<u32> is Some(_));
|
45 | 45 | | ^^^^^^^^^^^^
|
46 | 46 | |
|
47 | 47 | = note: see issue #123646 <https://github.com/rust-lang/rust/issues/123646> for more information
|
48 |
| - = help: add `#![feature(core_pattern_type)]` to the crate attributes to enable |
| 48 | + = help: add `#![feature(pattern_type_macro)]` 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: aborting due to 5 previous errors
|
|
0 commit comments