/dports/lang/rust/rustc-1.58.1-src/src/test/ui/nll/closure-requirements/ |
H A D | propagate-approximated-ref.stderr | 14 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
|
H A D | propagate-fail-to-approximate-longer-wrong-bounds.stderr | 14 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&ReLateBo…
|
H A D | propagate-approximated-shorter-to-static-wrong-bound.stderr | 15 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
|
H A D | propagate-fail-to-approximate-longer-no-bounds.stderr | 14 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&ReLateBo…
|
H A D | propagate-approximated-shorter-to-static-no-bound.stderr | 15 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
|
H A D | propagate-approximated-fail-no-postdom.stderr | 13 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&'_…
|
H A D | propagate-despite-same-free-region.stderr | 13 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&Re…
|
H A D | propagate-approximated-val.stderr | 14 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&Re…
|
H A D | escape-argument-callee.stderr | 9 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) mut &ReLateBound(Debruijn…
|
H A D | escape-argument.stderr | 9 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) mut &ReLateBound(Debruijn…
|
H A D | return-wrong-bound-region.stderr | 9 …ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) i32, &ReLateBound(Debruij…
|
H A D | propagate-approximated-shorter-to-static-comparing-against-free.stderr | 13 …> extern "rust-call" fn((std::cell::Cell<&'_#1r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0… 52 …> extern "rust-call" fn((std::cell::Cell<&'_#1r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0…
|
/dports/lang/rust/rustc-1.58.1-src/src/test/ui/nll/ty-outlives/ |
H A D | ty-param-closure-approximate-lower-bound.stderr | 9 …Option<std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('… 34 …Option<std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('…
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/ |
H A D | fold.rs | 483 ty::ReLateBound(debruijn, _) if debruijn < self.current_index => { in fold_region() 559 return if let ty::ReLateBound(debruijn1, br) = *region { in fold_region() 565 self.tcx.mk_region(ty::ReLateBound(debruijn, br)) in fold_region() 702 self.mk_region(ty::ReLateBound( in shift_bound_var_indices() 798 let r = self.mk_region(ty::ReLateBound(ty::INNERMOST, br)); in anonymize_late_bound_regions() 882 ty::ReLateBound(index, br) if *index == self.binder_index => { in visit_region() 950 ty::ReLateBound(debruijn, br) => { in fold_region() 955 let shifted = ty::ReLateBound(debruijn, br); in fold_region() 998 ty::ReLateBound(debruijn, br) if amount > 0 => { in shift_region() 999 tcx.mk_region(ty::ReLateBound(debruijn.shifted_in(amount), *br)) in shift_region() [all …]
|
H A D | impls_ty.rs | 73 ty::ReLateBound(db, ty::BoundRegion { kind: ty::BrAnon(i), .. }) => { in hash_stable() 77 ty::ReLateBound(db, ty::BoundRegion { kind: ty::BrNamed(def_id, name), .. }) => { in hash_stable() 82 ty::ReLateBound(db, ty::BoundRegion { kind: ty::BrEnv, .. }) => { in hash_stable()
|
H A D | erase_regions.rs | 67 ty::ReLateBound(..) => r, in fold_region()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/ |
H A D | auto_trait.rs | 439 ty::RegionKind::ReLateBound(_, _), in add_user_pred() 440 ty::RegionKind::ReLateBound(_, _), in add_user_pred() 443 (ty::RegionKind::ReLateBound(_, _), _) in add_user_pred() 470 (_, ty::RegionKind::ReLateBound(_, _)) in add_user_pred()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/region_constraints/ |
H A D | mod.rs | 19 use rustc_middle::ty::{ReLateBound, ReVar}; 554 (&ReLateBound(..), _) | (_, &ReLateBound(..)) => { in make_subregion() 698 ty::ReLateBound(..) => bug!("universe(): encountered bound region {:?}", region), in universe()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/outlives/ |
H A D | utils.rs | 163 RegionKind::ReLateBound(..) => false, in is_free_region()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_traits/src/chalk/ |
H A D | lowering.rs | 439 ReLateBound(db, br) => chalk_ir::LifetimeData::BoundVar(chalk_ir::BoundVar::new( in lower_into() 464 chalk_ir::LifetimeData::BoundVar(var) => ty::RegionKind::ReLateBound( in lower_into() 893 ty::ReLateBound(index, br) if *index == self.binder_index => match br.kind { in visit_region() 955 ty::ReLateBound(index, br) if *index == self.binder_index => match br.kind { in fold_region() 959 return self.tcx.mk_region(RegionKind::ReLateBound(*index, new_br)); in fold_region() 1045 self.tcx.mk_region(RegionKind::ReLateBound(self.binder_index, br)) in fold_region() 1052 self.tcx.mk_region(RegionKind::ReLateBound(self.binder_index, br)) in fold_region()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/ |
H A D | intrinsic.rs | 125 let region = tcx.mk_region(ty::ReLateBound( in check_intrinsic_type() 129 let env_region = tcx.mk_region(ty::ReLateBound( in check_intrinsic_type() 336 tcx.mk_imm_ref(tcx.mk_region(ty::ReLateBound(ty::INNERMOST, br)), param(0)), in check_intrinsic_type() 388 tcx.mk_imm_ref(tcx.mk_region(ty::ReLateBound(ty::INNERMOST, br)), param(0)); in check_intrinsic_type()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/lexical_region_resolve/ |
H A D | mod.rs | 20 use rustc_middle::ty::{ReLateBound, RePlaceholder, ReVar}; 373 (&ReLateBound(..), _) | (_, &ReLateBound(..)) | (&ReErased, _) | (_, &ReErased) => { in lub_concrete_regions()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/nll_relate/ |
H A D | mod.rs | 248 if let ty::ReLateBound(debruijn, br) = r { in replace_bound_region() 789 ty::ReLateBound(debruijn, br) if *debruijn == self.target_index => { in visit_region() 972 if let ty::ReLateBound(debruijn, _) = a { in regions()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/canonical/ |
H A D | canonicalizer.rs | 293 ty::ReLateBound(index, ..) => { in fold_region() 609 let region = ty::ReLateBound(self.binder_index, br); in canonical_var_for_region()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/print/ |
H A D | pretty.rs | 1881 ty::ReLateBound(_, ty::BoundRegion { kind: br, .. }) in region_should_not_be_omitted() 1960 ty::ReLateBound(_, ty::BoundRegion { kind: br, .. }) in pretty_print_region() 2039 ty::ReLateBound(_, br) => self.region_map.entry(br).or_insert_with(|| name(br)), in fold_region() 2054 if let ty::ReLateBound(debruijn1, br) = *region { in fold_region() 2056 self.tcx.mk_region(ty::ReLateBound(self.current_index, br)) in fold_region() 2162 self.tcx.mk_region(ty::ReLateBound( in name_all_regions() 2188 tcx.mk_region(ty::ReLateBound(ty::INNERMOST, ty::BoundRegion { var: br.var, kind })) in name_all_regions() 2256 if let ty::ReLateBound(_, ty::BoundRegion { kind: ty::BrNamed(_, name), .. }) = *r { in prepare_late_bound_region_info()
|