mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
macro_literal_matcher: fixes per petrochenkov's review
This commit is contained in:
parent
fc284c1eee
commit
b8ae7b801b
@ -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 {
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![cfg_attr(stage0, feature(macro_literal_matcher))]
|
||||
|
||||
macro_rules! a {
|
||||
($i:literal) => { "right" };
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![cfg_attr(stage0, feature(macro_literal_matcher))]
|
||||
|
||||
macro_rules! mtester {
|
||||
($l:literal) => {
|
||||
|
Loading…
Reference in New Issue
Block a user