1
Fork 0

Use DiagnosticMessage for BufferedEarlyLint.msg

This commit is contained in:
finalchild 2022-08-17 23:52:16 +09:00
parent d6fdf14eb7
commit 80451de390
3 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ impl<'a, T: EarlyLintPass> EarlyContextAndPass<'a, T> {
lint_id.lint,
Some(span),
|lint| {
lint.build(&msg).emit();
lint.build(msg).emit();
},
diagnostic,
);