]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/rmeta/encoder.rs
Auto merge of #75635 - Aaron1011:fix/incr-fn-param-names, r=eddyb
[rust.git] / src / librustc_metadata / rmeta / encoder.rs
index cb3bf10926b7d1655e14e868e15781e0bc7eed63..78abf341e33a9e08b6bb68548dfcc7785ccd1c4b 100644 (file)
@@ -1089,7 +1089,7 @@ fn encode_info_for_impl_item(&mut self, def_id: DefId) {
     }
 
     fn encode_fn_param_names_for_body(&mut self, body_id: hir::BodyId) -> Lazy<[Ident]> {
-        self.tcx.dep_graph.with_ignore(|| self.lazy(self.tcx.hir().body_param_names(body_id)))
+        self.lazy(self.tcx.hir().body_param_names(body_id))
     }
 
     fn encode_fn_param_names(&mut self, param_names: &[Ident]) -> Lazy<[Ident]> {