## USAGE_OF_TYPE_IR_TRAITS

# Static USAGE_OF_TYPE_IR_TRAITS

Source

    pub static USAGE_OF_TYPE_IR_TRAITS: &Lint

Expand description

The `usage_of_type_ir_traits` lint detects usage of `rustc_type_ir::Interner`, or `rustc_infer::InferCtxtLike`.

Methods of this trait should only be used within the type system abstraction layer, and in the generic next trait solver implementation. Look for an analogously named method on `TyCtxt` or `InferCtxt` (respectively).