Implement lint against using Interner and InferCtxtLike in random compiler crates

This commit is contained in:
Michael Goulet
2025-03-26 04:09:07 +00:00
parent ca6dad3eab
commit 14804d1ed1
11 changed files with 82 additions and 3 deletions

View File

@@ -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 {