Implement lint against using Interner and InferCtxtLike in random compiler crates
This commit is contained in:
@@ -943,6 +943,11 @@ pub(crate) struct TyQualified {
|
||||
#[note]
|
||||
pub(crate) struct TypeIrInherentUsage;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_type_ir_trait_usage)]
|
||||
#[note]
|
||||
pub(crate) struct TypeIrTraitUsage;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_non_glob_import_type_ir_inherent)]
|
||||
pub(crate) struct NonGlobImportTypeIrInherent {
|
||||
|
||||
Reference in New Issue
Block a user