diff options
| author | Alan Egerton <eggyal@gmail.com> | 2021-12-01 15:11:24 +0000 | 
|---|---|---|
| committer | Alan Egerton <eggyal@gmail.com> | 2021-12-02 16:14:18 +0000 | 
| commit | cf683e644f1822400ea22c7da5de40b5b395a194 (patch) | |
| tree | 18c7ee24a68dbbaf3a0b2bd90103948034b2e661 /compiler/rustc_middle/src/macros.rs | |
| parent | d79e17daf0157d8c39747544e93113db387e6fc5 (diff) | |
| download | rust-cf683e644f1822400ea22c7da5de40b5b395a194.tar.gz rust-cf683e644f1822400ea22c7da5de40b5b395a194.zip | |
Rename TypeFolderFallible to FallibleTypeFolder
Diffstat (limited to 'compiler/rustc_middle/src/macros.rs')
| -rw-r--r-- | compiler/rustc_middle/src/macros.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/rustc_middle/src/macros.rs b/compiler/rustc_middle/src/macros.rs index a2f1218650b..4e927f00acd 100644 --- a/compiler/rustc_middle/src/macros.rs +++ b/compiler/rustc_middle/src/macros.rs @@ -52,7 +52,7 @@ macro_rules! TrivialTypeFoldableImpls { (for <$tcx:lifetime> { $($ty:ty,)+ }) => { $( impl<$tcx> $crate::ty::fold::TypeFoldable<$tcx> for $ty { - fn try_super_fold_with<F: $crate::ty::fold::TypeFolderFallible<$tcx>>( + fn try_super_fold_with<F: $crate::ty::fold::FallibleTypeFolder<$tcx>>( self, _: &mut F ) -> ::std::result::Result<$ty, F::Error> { @@ -95,7 +95,7 @@ macro_rules! EnumTypeFoldableImpl { impl<$($p),*> $crate::ty::fold::TypeFoldable<$tcx> for $s $(where $($wc)*)* { - fn try_super_fold_with<V: $crate::ty::fold::TypeFolderFallible<$tcx>>( + fn try_super_fold_with<V: $crate::ty::fold::FallibleTypeFolder<$tcx>>( self, folder: &mut V, ) -> ::std::result::Result<Self, V::Error> { | 
