Rename buffer_lint_with_diagnostic to buffer_lint
This commit is contained in:
parent
c4f6502c6d
commit
98dd6c7e8f
28 changed files with 57 additions and 57 deletions
|
@ -1913,7 +1913,7 @@ impl<'a> Parser<'a> {
|
|||
| ExprKind::Block(_, None)
|
||||
)
|
||||
{
|
||||
self.psess.buffer_lint_with_diagnostic(
|
||||
self.psess.buffer_lint(
|
||||
BREAK_WITH_LABEL_AND_LOOP,
|
||||
lo.to(expr.span),
|
||||
ast::CRATE_NODE_ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue