]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_ast_passes/src/node_count.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / compiler / rustc_ast_passes / src / node_count.rs
index ee166f7570307f09692ce3af4ee888351df4a6c2..9c7369c83e2da57f8cf2bca9c4cc15862dc5065d 100644 (file)
@@ -16,9 +16,8 @@ impl NodeCounter {
 }
 
 impl<'ast> Visitor<'ast> for NodeCounter {
-    fn visit_ident(&mut self, ident: Ident) {
+    fn visit_ident(&mut self, _ident: Ident) {
         self.count += 1;
-        walk_ident(self, ident);
     }
     fn visit_foreign_item(&mut self, i: &ForeignItem) {
         self.count += 1;