Home
last modified time | relevance | path

Searched refs:ReLateBound (Results 1 – 25 of 54) sorted by relevance

123

/dports/lang/rust/rustc-1.58.1-src/src/test/ui/nll/closure-requirements/
H A Dpropagate-approximated-ref.stderr14ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
H A Dpropagate-fail-to-approximate-longer-wrong-bounds.stderr14ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&ReLateBo…
H A Dpropagate-approximated-shorter-to-static-wrong-bound.stderr15ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
H A Dpropagate-fail-to-approximate-longer-no-bounds.stderr14ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&ReLateBo…
H A Dpropagate-approximated-shorter-to-static-no-bound.stderr15ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) std::cell::Cell<&'_#1r &R…
H A Dpropagate-approximated-fail-no-postdom.stderr13ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&'_…
H A Dpropagate-despite-same-free-region.stderr13ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&Re…
H A Dpropagate-approximated-val.stderr14ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) u32>, std::cell::Cell<&Re…
H A Descape-argument-callee.stderr9ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) mut &ReLateBound(Debruijn…
H A Descape-argument.stderr9ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) mut &ReLateBound(Debruijn…
H A Dreturn-wrong-bound-region.stderr9ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrNamed('r) }) i32, &ReLateBound(Debruij…
H A Dpropagate-approximated-shorter-to-static-comparing-against-free.stderr13 …> 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 Dty-param-closure-approximate-lower-bound.stderr9 …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 Dfold.rs483 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 Dimpls_ty.rs73 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 Derase_regions.rs67 ty::ReLateBound(..) => r, in fold_region()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/
H A Dauto_trait.rs439 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 Dmod.rs19 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 Dutils.rs163 RegionKind::ReLateBound(..) => false, in is_free_region()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_traits/src/chalk/
H A Dlowering.rs439 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 Dintrinsic.rs125 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 Dmod.rs20 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 Dmod.rs248 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 Dcanonicalizer.rs293 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 Dpretty.rs1881 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()

123