Skip to main content

Module coherence

Module coherence 

Source

Re-exportsยง

use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::ops::ControlFlow; ๐Ÿ”’
use derive_where::derive_where; ๐Ÿ”’
use rustc_type_ir::lang_items::SolverAdtLangItem; ๐Ÿ”’
use rustc_type_ir as ty; ๐Ÿ”’
use rustc_type_ir::Const; ๐Ÿ”’
use rustc_type_ir::InferCtxtLike; ๐Ÿ”’
use rustc_type_ir::Interner; ๐Ÿ”’
use rustc_type_ir::Region; ๐Ÿ”’
use rustc_type_ir::TrivialTypeTraversalImpls; ๐Ÿ”’
use rustc_type_ir::TypeVisitable; ๐Ÿ”’
use rustc_type_ir::TypeVisitableExt; ๐Ÿ”’
use rustc_type_ir::TypeVisitor; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use rustc_type_ir::inherent::*; ๐Ÿ”’

Structsยง

OrphanChecker ๐Ÿ”’
UncoveredTyParams

Enumsยง

Conflict
InCrate
Whether we do the orphan check relative to this crate or to some remote crate.
IsFirstInputType
OrphanCheckEarlyExit ๐Ÿ”’
OrphanCheckErr
OrphanCheckMode

Functionsยง

orphan_check_trait_ref
Checks whether a trait-ref is potentially implementable by a crate.
trait_ref_is_knowable
Returns whether all impls which would apply to the trait_ref e.g. Ty: Trait<Arg> are already known in the local crate.
trait_ref_is_local_or_fundamental