We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ef167 commit ab3836dCopy full SHA for ab3836d
src/libsyntax/ext/tt/macro_rules.rs
@@ -317,12 +317,12 @@ pub fn compile<'cx>(cx: &'cx mut ExtCtxt,
317
'a: for (i, lhs) in lhses.iter().enumerate() {
318
for lhs_ in lhses[i + 1 ..].iter() {
319
if !check_lhs_firsts(cx, lhs, lhs_) {
320
- cx.struct_span_err(def.span, "macro is not future-proof")
+ cx.struct_span_warn(def.span, "macro is not future-proof")
321
.span_help(lhs.get_span(), "parsing of this arm is ambiguous...")
322
.span_help(lhs_.get_span(), "with the parsing of this arm.")
323
.help("the behaviour of this macro might change in the future")
324
.emit();
325
- valid = false;
+ //valid = false;
326
break 'a;
327
}
328
0 commit comments