rustc_middle::ty::util

Function reveal_opaque_types_in_bounds

source
pub fn reveal_opaque_types_in_bounds<'tcx>(
    tcx: TyCtxt<'tcx>,
    val: Clauses<'tcx>,
) -> Clauses<'tcx>
Expand description

Reveals all opaque types in the given value, replacing them with their underlying types.