diff options
| author | Matt Peterson <ricochet1k@gmail.com> | 2017-12-28 11:52:50 -0500 |
|---|---|---|
| committer | Matt Peterson <ricochet1k@gmail.com> | 2017-12-28 11:52:50 -0500 |
| commit | f55242583cddf969c863ba8948682beb7d5bb99e (patch) | |
| tree | d3350e496d84c1ef29fcfe00daa5b4ac65b011ab /src/libsyntax/ext | |
| parent | 0f9c9b66bb43fee06ce01763cd9f3040a5a59981 (diff) | |
| download | rust-f55242583cddf969c863ba8948682beb7d5bb99e.tar.gz rust-f55242583cddf969c863ba8948682beb7d5bb99e.zip | |
Cleanup
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_rules.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index 5412decd3b7..d86603e94e9 100644 --- a/src/libsyntax/ext/tt/macro_rules.rs +++ b/src/libsyntax/ext/tt/macro_rules.rs @@ -889,8 +889,8 @@ fn is_legal_fragment_specifier(sess: &ParseSess, "item" | "block" | "stmt" | "expr" | "pat" | "path" | "ty" | "ident" | "meta" | "tt" | "" => true, "lifetime" => { - if !features.borrow().macro_lifetime_matcher - && !attr::contains_name(attrs, "allow_internal_unstable") { + if !features.borrow().macro_lifetime_matcher && + !attr::contains_name(attrs, "allow_internal_unstable") { let explain = feature_gate::EXPLAIN_LIFETIME_MATCHER; emit_feature_err(sess, "macro_lifetime_matcher", @@ -901,8 +901,8 @@ fn is_legal_fragment_specifier(sess: &ParseSess, true }, "vis" => { - if !features.borrow().macro_vis_matcher - && !attr::contains_name(attrs, "allow_internal_unstable") { + if !features.borrow().macro_vis_matcher && + !attr::contains_name(attrs, "allow_internal_unstable") { let explain = feature_gate::EXPLAIN_VIS_MATCHER; emit_feature_err(sess, "macro_vis_matcher", |
