about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorAlan Egerton <eggyal@gmail.com>2021-12-01 15:11:24 +0000
committerAlan Egerton <eggyal@gmail.com>2021-12-02 16:14:18 +0000
commitcf683e644f1822400ea22c7da5de40b5b395a194 (patch)
tree18c7ee24a68dbbaf3a0b2bd90103948034b2e661 /compiler/rustc_macros/src
parentd79e17daf0157d8c39747544e93113db387e6fc5 (diff)
Rename TypeFolderFallible to FallibleTypeFolder
Diffstat (limited to 'compiler/rustc_macros/src')
-rw-r--r--compiler/rustc_macros/src/type_foldable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/type_foldable.rs b/compiler/rustc_macros/src/type_foldable.rs
index 6a117a09597..9f448a593da 100644
--- a/compiler/rustc_macros/src/type_foldable.rs
+++ b/compiler/rustc_macros/src/type_foldable.rs
@@ -25,7 +25,7 @@ pub fn type_foldable_derive(mut s: synstructure::Structure<'_>) -> proc_macro2::
     s.bound_impl(
         quote!(::rustc_middle::ty::fold::TypeFoldable<'tcx>),
         quote! {
-            fn try_super_fold_with<__F: ::rustc_middle::ty::fold::TypeFolderFallible<'tcx>>(
+            fn try_super_fold_with<__F: ::rustc_middle::ty::fold::FallibleTypeFolder<'tcx>>(
                 self,
                 __folder: &mut __F
             ) -> Result<Self, __F::Error> {