Fix msg passed to span_bug
This commit is contained in:
parent
3c9e0705ba
commit
91aef00e51
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ pub fn compile_declarative_macro(
|
|||
.pop()
|
||||
.unwrap();
|
||||
}
|
||||
sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured lhs")
|
||||
sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured rhs")
|
||||
})
|
||||
.collect::<Vec<mbe::TokenTree>>(),
|
||||
_ => sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured rhs"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue