Re-exportsΒ§
use std::ops::ControlFlow;πuse rustc_infer::infer::TypeOutlivesConstraint;πuse rustc_infer::infer::canonical::CanonicalQueryInput;πuse rustc_infer::infer::canonical::CanonicalQueryResponse;πuse rustc_infer::traits::query::OutlivesBound;πuse rustc_infer::traits::query::type_op::ImpliedOutlivesBounds;πuse rustc_middle::traits::ObligationCause;πuse rustc_middle::ty::outlives::Component;πuse rustc_middle::ty::outlives::push_outlives_components;πuse rustc_middle::ty;πuse rustc_middle::ty::ParamEnvAnd;πuse rustc_middle::ty::Ty;πuse rustc_middle::ty::TyCtxt;πuse rustc_middle::ty::TypeVisitable;πuse rustc_middle::ty::TypeVisitor;πuse rustc_middle::ty::Unnormalized;πuse rustc_span::def_id::CRATE_DEF_ID;πuse rustc_span::DUMMY_SP;πuse rustc_span::Span;πuse rustc_span::sym;πuse smallvec::SmallVec;πuse smallvec::smallvec;πuse crate::infer::InferCtxt;πuse crate::traits::query::NoSolution;πuse crate::traits::query::type_op::QueryTypeOp;πuse crate::traits::ObligationCtxt;πuse crate::traits::wf;π
StructsΒ§
- Contains
Bevy πParam Set
FunctionsΒ§
- compute_
implied_ outlives_ bounds_ inner - consider_
implied_ bounds_ hack_ for_ ty - If weβre at a callsite which should apply the bevy implied bounds hack and
-Zno-implied-bounds-compathas not been set, then use the registered outlives obligations as implied bounds if we detectbevy_ecs::*::ParamSetin the arg. - implied_
bounds_ πfrom_ components - When we have an implied bound that
T: 'a, we can further break this down to determine what relationships would have to hold forT: 'ato hold. We get to assume that the caller has validated those relationships. - query_
compute_ implied_ outlives_ bounds