summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-07-31 22:50:43 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-03-31 13:46:06 +0200
commit4b598d3f75c1802cae68c6967fe7ea2a83e437ae (patch)
tree0f996911bad3b4bfb07a7d18e607a29df54ce70f /compiler/rustc_resolve/src
parentc10a1cebe785e2e47ae30228416e57f9db751e17 (diff)
downloadrust-4b598d3f75c1802cae68c6967fe7ea2a83e437ae.tar.gz
rust-4b598d3f75c1802cae68c6967fe7ea2a83e437ae.zip
Stop emitting lints during lowering.
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs
index 3d31315d044..1f0a6e5ce97 100644
--- a/compiler/rustc_resolve/src/lib.rs
+++ b/compiler/rustc_resolve/src/lib.rs
@@ -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()
     }