We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f6c48b + 91aef00 commit 82bd2e3Copy full SHA for 82bd2e3
compiler/rustc_expand/src/mbe/macro_rules.rs
@@ -535,7 +535,7 @@ pub fn compile_declarative_macro(
535
.pop()
536
.unwrap();
537
}
538
- sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured lhs")
+ sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured rhs")
539
})
540
.collect::<Vec<mbe::TokenTree>>(),
541
_ => sess.parse_sess.span_diagnostic.span_bug(def.span, "wrong-structured rhs"),
0 commit comments