Make sure feature gate errors are recoverable

This commit is contained in:
Vadim Petrochenkov
2018-12-21 01:47:03 +03:00
parent b99fb2f544
commit 15cefe4b2a
20 changed files with 32 additions and 58 deletions

View File

@@ -713,7 +713,6 @@ pub fn expand_format_args_nl<'cx>(
sp,
feature_gate::GateIssue::Language,
feature_gate::EXPLAIN_FORMAT_ARGS_NL);
return DummyResult::expr(sp);
}
sp = sp.apply_mark(ecx.current_expansion.mark);
match parse_args(ecx, sp, tts) {