pub type Goal<'tcx, P> = Goal<TyCtxt<'tcx>, P>;
Aliased Type§
struct Goal<'tcx, P> {
pub param_env: ParamEnv<'tcx>,
pub predicate: P,
}
Fields§
§param_env: ParamEnv<'tcx>
§predicate: P
Trait Implementations§
Source§impl<'tcx, P> From<Obligation<'tcx, P>> for Goal<'tcx, P>
impl<'tcx, P> From<Obligation<'tcx, P>> for Goal<'tcx, P>
Source§fn from(value: Obligation<'tcx, P>) -> Self
fn from(value: Obligation<'tcx, P>) -> Self
Converts to this type from the input type.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.