]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/query/normalize.rs
Rename TypeFolderFallible to FallibleTypeFolder
[rust.git] / compiler / rustc_trait_selection / src / traits / query / normalize.rs
index d63bef8b8b98fc234e817e8c49a7bcee0e06db37..26bacf787e2ebaded063e0854d2b9d55c5163436 100644 (file)
@@ -12,7 +12,7 @@
 use rustc_data_structures::stack::ensure_sufficient_stack;
 use rustc_infer::traits::Normalized;
 use rustc_middle::mir;
-use rustc_middle::ty::fold::{TypeFoldable, TypeFolder, TypeFolderFallible};
+use rustc_middle::ty::fold::{FallibleTypeFolder, TypeFoldable, TypeFolder};
 use rustc_middle::ty::subst::Subst;
 use rustc_middle::ty::{self, Ty, TyCtxt, TypeVisitor};
 
@@ -178,7 +178,7 @@ fn tcx<'c>(&'c self) -> TyCtxt<'tcx> {
     }
 }
 
-impl<'cx, 'tcx> TypeFolderFallible<'tcx> for QueryNormalizer<'cx, 'tcx> {
+impl<'cx, 'tcx> FallibleTypeFolder<'tcx> for QueryNormalizer<'cx, 'tcx> {
     fn try_fold_binder<T: TypeFoldable<'tcx>>(
         &mut self,
         t: ty::Binder<'tcx, T>,