[−][src]Module rustc_trait_selection::traits::coherence
See Rustc Dev Guide chapters on trait-resolution and trait-specialization for more info on how this works.
Structs
| OverlapResult |
Enums
| Conflict | |
| InCrate | Whether we do the orphan check relative to this crate or to some remote crate. |
| OrphanCheckErr |
Functions
| add_placeholder_note | |
| contained_non_local_types | Returns a list of relevant non-local types for |
| def_id_is_local | |
| fundamental_ty_inner_tys | For |
| orphan_check | Checks the coherence orphan rules. |
| orphan_check_trait_ref | Checks whether a trait-ref is potentially implementable by a crate. |
| overlap | Can both impl |
| overlap_within_probe | |
| overlapping_impls | If there are types that satisfy both impls, invokes |
| trait_ref_is_knowable | |
| trait_ref_is_local_or_fundamental | |
| ty_is_local_constructor | |
| with_fresh_ty_vars |