Function rustc_hir_analysis::coherence::orphan::lint_auto_trait_impl
source · fn lint_auto_trait_impl<'tcx>(
tcx: TyCtxt<'tcx>,
trait_ref: TraitRef<'tcx>,
impl_def_id: LocalDefId
)
Expand description
Lint impls of auto traits if they are likely to have unsound or surprising effects on auto impls.