Auto merge of #120834 - oli-obk:only_local_coherence, r=lcnr

A trait's local impls are trivially coherent if there are no impls.

This avoids creating a dependency edge on the hir or the specialization graph

This may resolve part of the performance issue of https://github.com/rust-lang/rust/pull/120558
This commit is contained in:
bors 2024-02-12 05:05:57 +00:00
commit fefc7dad80

Diff content is not available