diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index 55c1904bd274a..d526e464ba4f5 100644 --- a/src/libsyntax/ext/tt/macro_rules.rs +++ b/src/libsyntax/ext/tt/macro_rules.rs @@ -1033,9 +1033,9 @@ fn is_legal_fragment_specifier(_sess: &ParseSess, frag_name: &str, _frag_span: Span) -> bool { /* - * If new fragmnet specifiers are invented in nightly, `_sess`, - * `_features`, `_attrs`, and `_frag_span` will be useful for - * here for checking against feature gates. See past versions of + * If new fragment specifiers are invented in nightly, `_sess`, + * `_features`, `_attrs`, and `_frag_span` will be useful here + * for checking against feature gates. See past versions of * this function. */ match frag_name { diff --git a/src/test/run-pass/issues/issue-52169.rs b/src/test/run-pass/issues/issue-52169.rs index 9421dfc7897d0..c4ed534cc20ec 100644 --- a/src/test/run-pass/issues/issue-52169.rs +++ b/src/test/run-pass/issues/issue-52169.rs @@ -9,7 +9,6 @@ // except according to those terms. // run-pass -#![cfg_attr(stage0, feature(macro_literal_matcher))] macro_rules! a { ($i:literal) => { "right" }; diff --git a/src/test/run-pass/macros/macro-literal.rs b/src/test/run-pass/macros/macro-literal.rs index 07e27d9f516cb..de268e3388a5e 100644 --- a/src/test/run-pass/macros/macro-literal.rs +++ b/src/test/run-pass/macros/macro-literal.rs @@ -9,7 +9,6 @@ // except according to those terms. // run-pass -#![cfg_attr(stage0, feature(macro_literal_matcher))] macro_rules! mtester { ($l:literal) => {