Skip to content

Commit 313db30

Browse files
oli-obkgitbot
authored and
gitbot
committed
Rename core_pattern_type and core_pattern_types lib feature gates to pattern_type_macro
That's what the gates are actually gating, and the single char difference in naming was not helpful either
1 parent d711823 commit 313db30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ pub mod net;
345345
pub mod option;
346346
pub mod panic;
347347
pub mod panicking;
348-
#[unstable(feature = "core_pattern_types", issue = "123646")]
348+
#[unstable(feature = "pattern_type_macro", issue = "123646")]
349349
pub mod pat;
350350
pub mod pin;
351351
#[unstable(feature = "random", issue = "130703")]

core/src/pat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/// ```
77
#[macro_export]
88
#[rustc_builtin_macro(pattern_type)]
9-
#[unstable(feature = "core_pattern_type", issue = "123646")]
9+
#[unstable(feature = "pattern_type_macro", issue = "123646")]
1010
macro_rules! pattern_type {
1111
($($arg:tt)*) => {
1212
/* compiler built-in */

std/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ pub mod net;
589589
pub mod num;
590590
pub mod os;
591591
pub mod panic;
592-
#[unstable(feature = "core_pattern_types", issue = "123646")]
592+
#[unstable(feature = "pattern_type_macro", issue = "123646")]
593593
pub mod pat;
594594
pub mod path;
595595
#[unstable(feature = "anonymous_pipe", issue = "127154")]

0 commit comments

Comments
 (0)