fn check_object_overlap<'tcx>(
    tcx: TyCtxt<'tcx>,
    impl_def_id: LocalDefId,
    trait_ref: TraitRef<'tcx>
)
Expand description

Checks whether an impl overlaps with the automatic impl Trait for dyn Trait.