Use DiagnosticMessage for BufferedEarlyLint.msg
This commit is contained in:
parent
d6fdf14eb7
commit
80451de390
3 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue