Stop emitting lints during lowering.

This commit is contained in:
Camille GILLOT 2021-07-31 22:50:43 +02:00
parent c10a1cebe7
commit 4b598d3f75
3 changed files with 15 additions and 24 deletions

View file

@ -1204,10 +1204,6 @@ impl ResolverAstLowering for Resolver<'_> {
&self.definitions
}
fn lint_buffer(&mut self) -> &mut LintBuffer {
&mut self.lint_buffer
}
fn next_node_id(&mut self) -> NodeId {
self.next_node_id()
}