/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/query/ |
H A D | normalize.rs | 189 let t = t.super_fold_with(self); in fold_binder() 255 let data = data.super_fold_with(self); in fold_ty() 270 return ty.super_fold_with(self); in fold_ty() 288 ty.super_fold_with(self) in fold_ty() 295 ty.super_fold_with(self) in fold_ty() 311 let data = data.super_fold_with(self); in fold_ty() 349 ty.super_fold_with(self) in fold_ty() 355 ty.super_fold_with(self) in fold_ty() 360 _ => ty.super_fold_with(self), in fold_ty() 367 let constant = constant.super_fold_with(self); in fold_const() [all …]
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/hir_ty/src/diagnostics/ |
H A D | match_check.rs | 276 self.super_fold_with(folder) in fold_with() 279 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self; in super_fold_with() method 284 pattern.super_fold_with(self) in fold_pattern() 288 kind.super_fold_with(self) in fold_pattern_kind() 293 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 300 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 306 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 315 fn super_fold_with<F: PatternFolder>(&self, _: &mut F) -> Self { 326 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 336 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/hir_ty/src/diagnostics/ |
H A D | match_check.rs | 276 self.super_fold_with(folder) in fold_with() 279 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self; in super_fold_with() method 284 pattern.super_fold_with(self) in fold_pattern() 288 kind.super_fold_with(self) in fold_pattern_kind() 293 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 300 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 306 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 315 fn super_fold_with<F: PatternFolder>(&self, _: &mut F) -> Self { 326 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method 336 fn super_fold_with<F: PatternFolder>(&self, folder: &mut F) -> Self { in super_fold_with() method [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/ |
H A D | erase_regions.rs | 12 ty.super_fold_with(&mut RegionEraserVisitor { tcx }) in erase_regions_ty() 46 if ty.needs_infer() { ty.super_fold_with(self) } else { self.tcx.erase_regions_ty(ty) } in fold_ty() 54 u.super_fold_with(self) in fold_binder() 73 c.super_fold_with(self) in fold_mir_const()
|
H A D | fold.rs | 51 self.super_fold_with(folder) in fold_with() 202 t.super_fold_with(self) in fold_binder() 206 t.super_fold_with(self) in fold_ty() 210 r.super_fold_with(self) in fold_region() 214 c.super_fold_with(self) in fold_const() 218 p.super_fold_with(self) in fold_predicate() 299 let r = r.super_fold_with(self); in fold_region() 475 let t = t.super_fold_with(self); in fold_binder() 987 ct.super_fold_with(self) in fold_const() 1289 ty.super_fold_with(self) in fold_ty() [all …]
|
H A D | structural_impls.rs | 721 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 732 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 743 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 753 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 763 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 773 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 791 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 801 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 811 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 821 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method [all …]
|
H A D | subst.rs | 156 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 375 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 465 let t = t.super_fold_with(self); in fold_binder() 503 _ => t.super_fold_with(self), in fold_ty() 511 c.super_fold_with(self) in fold_const() 517 c.super_fold_with(self) in fold_mir_const()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/ |
H A D | resolve.rs | 38 t.super_fold_with(self) in fold_ty() 47 ct.super_fold_with(self) in fold_const() 52 constant.super_fold_with(self) in fold_mir_const() 82 t.super_fold_with(self) in fold_ty() 105 ct.super_fold_with(self) in fold_const() 219 _ => t.super_fold_with(self), in fold_ty() 252 c.super_fold_with(self) in fold_const()
|
H A D | fudge.rs | 218 _ => ty.super_fold_with(self), in fold_ty() 245 ct.super_fold_with(self) in fold_const()
|
H A D | freshen.rs | 218 | ty::Opaque(..) => t.super_fold_with(self), in fold_ty() 264 ct.super_fold_with(self) in fold_const()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/mir/ |
H A D | type_foldable.rs | 19 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 143 fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self { in super_fold_with() method 153 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 164 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 174 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 268 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 285 fn super_fold_with<F: TypeFolder<'tcx>>(self, folder: &mut F) -> Self { in super_fold_with() method 315 fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self { in super_fold_with() method 324 fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self { in super_fold_with() method 333 fn super_fold_with<F: TypeFolder<'tcx>>(self, _: &mut F) -> Self { in super_fold_with() method [all …]
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/chalk-ir-0.75.0/src/ |
H A D | fold.rs | 76 ty.super_fold_with(self.as_dyn(), outer_binder) in fold_ty() 88 lifetime.super_fold_with(self.as_dyn(), outer_binder) in fold_lifetime() 100 constant.super_fold_with(self.as_dyn(), outer_binder) in fold_const() 109 clause.super_fold_with(self.as_dyn(), outer_binder) in fold_program_clause() 118 goal.super_fold_with(self.as_dyn(), outer_binder) in fold_goal() 338 fn super_fold_with<E>( in super_fold_with() method 365 fn super_fold_with<E>( in super_fold_with() function 488 fn super_fold_with<E>( in super_fold_with() function 540 fn super_fold_with<E>( in super_fold_with() function 589 fn super_fold_with<E>( in super_fold_with() method
|
/dports/lang/rust/rustc-1.58.1-src/vendor/chalk-ir-0.55.0/src/ |
H A D | fold.rs | 75 ty.super_fold_with(self.as_dyn(), outer_binder) in fold_ty() 87 lifetime.super_fold_with(self.as_dyn(), outer_binder) in fold_lifetime() 99 constant.super_fold_with(self.as_dyn(), outer_binder) in fold_const() 108 clause.super_fold_with(self.as_dyn(), outer_binder) in fold_program_clause() 113 goal.super_fold_with(self.as_dyn(), outer_binder) in fold_goal() 335 fn super_fold_with<'i>( in super_fold_with() method 367 fn super_fold_with<'i>( in super_fold_with() function 496 fn super_fold_with<'i>( in super_fold_with() function 554 fn super_fold_with<'i>( in super_fold_with() function 609 fn super_fold_with<'i>( in super_fold_with() method
|
/dports/lang/rust/rustc-1.58.1-src/vendor/chalk-ir/src/ |
H A D | fold.rs | 75 ty.super_fold_with(self.as_dyn(), outer_binder) in fold_ty() 87 lifetime.super_fold_with(self.as_dyn(), outer_binder) in fold_lifetime() 99 constant.super_fold_with(self.as_dyn(), outer_binder) in fold_const() 108 clause.super_fold_with(self.as_dyn(), outer_binder) in fold_program_clause() 113 goal.super_fold_with(self.as_dyn(), outer_binder) in fold_goal() 335 fn super_fold_with<'i>( in super_fold_with() method 367 fn super_fold_with<'i>( in super_fold_with() function 496 fn super_fold_with<'i>( in super_fold_with() function 554 fn super_fold_with<'i>( in super_fold_with() function 609 fn super_fold_with<'i>( in super_fold_with() method
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/thir/pattern/ |
H A D | mod.rs | 589 self.super_fold_with(folder) in fold_with() 592 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self; in super_fold_with() method 597 pattern.super_fold_with(self) in fold_pattern() 601 kind.super_fold_with(self) in fold_pattern_kind() 606 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self { in super_fold_with() method 613 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self { in super_fold_with() method 619 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self { in super_fold_with() method 628 fn super_fold_with<F: PatternFolder<$lt_tcx>>(&self, _: &mut F) -> Self { 644 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self { in super_fold_with() method 654 fn super_fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self { in super_fold_with() method [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/doc/rustc-dev-guide/src/ |
H A D | ty-fold.md | 41 However, you might also notice that the implementation calls this `super_fold_with` method. What is 51 The `TypeFolder` can call `super_fold_with` on `MyFoldable` if it just wants to replace some of the 56 the struct, so usually we call `super_fold_with`. A typical implementation that `MyFoldable` could 64 fn super_fold_with(&self, folder: &mut impl TypeFolder<'tcx>) -> MyFoldable { 75 Notice that here, we implement `super_fold_with` to go over the fields of `MyFoldable` and call
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/ |
H A D | project.rs | 358 let t = t.super_fold_with(self); in fold_binder() 430 let data = data.super_fold_with(self); in fold_ty() 465 let data = data.super_fold_with(self); in fold_ty() 486 .unwrap_or_else(|| ty.super_fold_with(self)); in fold_ty() 498 _ => ty.super_fold_with(self), in fold_ty() 506 let constant = constant.super_fold_with(self); in fold_const() 554 let value = value.super_fold_with(&mut replacer); in replace_bound_vars() 583 let t = t.super_fold_with(self); in fold_binder() 677 value.super_fold_with(&mut replacer) in replace_placeholders() 694 let t = t.super_fold_with(self); in fold_binder() [all …]
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/chalk-ir-0.75.0/src/fold/ |
H A D | boring_impls.rs | 224 fn super_fold_with<E>( in super_fold_with() method 234 fn super_fold_with<E>( in super_fold_with() method 241 .super_fold_with(folder, outer_binder)? in super_fold_with()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/chalk-ir/src/fold/ |
H A D | boring_impls.rs | 259 fn super_fold_with<'i>( in super_fold_with() method 272 fn super_fold_with<'i>( in super_fold_with() method 282 .super_fold_with(folder, outer_binder)? in super_fold_with()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/chalk-ir-0.55.0/src/fold/ |
H A D | boring_impls.rs | 259 fn super_fold_with<'i>( in super_fold_with() method 272 fn super_fold_with<'i>( in super_fold_with() method 282 .super_fold_with(folder, outer_binder)? in super_fold_with()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ |
H A D | macros.rs | 55 fn super_fold_with<F: $crate::ty::fold::TypeFolder<$tcx>>( 98 fn super_fold_with<V: $crate::ty::fold::TypeFolder<$tcx>>(
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-718.0.0/src/ |
H A D | type_foldable.rs | 28 fn super_fold_with<__F: ::rustc_middle::ty::fold::TypeFolder<'tcx>>( in type_foldable_derive()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_macros-722.0.0/src/ |
H A D | type_foldable.rs | 28 fn super_fold_with<__F: ::rustc_middle::ty::fold::TypeFolder<'tcx>>( in type_foldable_derive()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_macros/src/ |
H A D | type_foldable.rs | 28 fn super_fold_with<__F: ::rustc_middle::ty::fold::TypeFolder<'tcx>>( in type_foldable_derive()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_macros/src/ |
H A D | type_foldable.rs | 28 fn super_fold_with<__F: ::rustc_middle::ty::fold::TypeFolder<'tcx>>( in type_foldable_derive()
|