1
Fork 0

Rename buffer_lint_with_diagnostic to buffer_lint

This commit is contained in:
Xiretza 2024-05-20 17:47:54 +00:00
parent c4f6502c6d
commit 98dd6c7e8f
28 changed files with 57 additions and 57 deletions

View file

@ -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,