pub fn astconv_object_safety_violations(
tcx: TyCtxt<'_>,
trait_def_id: DefId
) -> Vec<ObjectSafetyViolation>
Expand description
Returns the object safety violations that affect
astconv – currently, Self
in supertraits. This is needed
because object_safety_violations
can’t be used during
type collection.