Skip to content

Commit 7dfb4de

Browse files
fmeasegitbot
authored and
gitbot
committed
Rollup merge of rust-lang#133863 - oli-obk:push-pystoxvtvssx, r=lqd
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 fixes rust-lang#128987
2 parents 7509c14 + 38310e9 commit 7dfb4de

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)