Fix brace problem in panic message in rustc_expand.
This commit is contained in:
parent
9615d27ab7
commit
9a840a30d6
@ -1173,7 +1173,8 @@ fn quoted_tt_to_string(tt: &mbe::TokenTree) -> String {
|
|||||||
mbe::TokenTree::MetaVar(_, name) => format!("${}", name),
|
mbe::TokenTree::MetaVar(_, name) => format!("${}", name),
|
||||||
mbe::TokenTree::MetaVarDecl(_, name, kind) => format!("${}:{}", name, kind),
|
mbe::TokenTree::MetaVarDecl(_, name, kind) => format!("${}:{}", name, kind),
|
||||||
_ => panic!(
|
_ => panic!(
|
||||||
"unexpected mbe::TokenTree::{{Sequence or Delimited}} \
|
"{}",
|
||||||
|
"unexpected mbe::TokenTree::{Sequence or Delimited} \
|
||||||
in follow set checker"
|
in follow set checker"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user