]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/select/mod.rs
Remove unused code from remaining compiler crates
[rust.git] / compiler / rustc_trait_selection / src / traits / select / mod.rs
index 57b680b0e539f7d8236d2a5a5b43b60cdc1f9fde..0308e9bcdeba3942de61f45a506f15592c9ef99e 100644 (file)
@@ -290,10 +290,6 @@ pub fn tcx(&self) -> TyCtxt<'tcx> {
         self.infcx.tcx
     }
 
-    pub fn closure_typer(&self) -> &'cx InferCtxt<'cx, 'tcx> {
-        self.infcx
-    }
-
     ///////////////////////////////////////////////////////////////////////////
     // Selection
     //