Skip to content

Commit

Permalink
macro_literal_matcher: fixes per petrochenkov's review
Browse files Browse the repository at this point in the history
  • Loading branch information
da-x committed Nov 21, 2018
1 parent fc284c1 commit b8ae7b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/libsyntax/ext/tt/macro_rules.rs
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass/issues/issue-52169.rs
Expand Up @@ -9,7 +9,6 @@
// except according to those terms.

// run-pass
#![cfg_attr(stage0, feature(macro_literal_matcher))]

macro_rules! a {
($i:literal) => { "right" };
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass/macros/macro-literal.rs
Expand Up @@ -9,7 +9,6 @@
// except according to those terms.

// run-pass
#![cfg_attr(stage0, feature(macro_literal_matcher))]

macro_rules! mtester {
($l:literal) => {
Expand Down

0 comments on commit b8ae7b8

Please sign in to comment.