Deny imports of rustc_type_ir::inherent outside of type ir + new trait solver
This commit is contained in:
parent
1a1cc050d8
commit
91854453f2
7 changed files with 87 additions and 2 deletions
|
@ -918,6 +918,11 @@ pub(crate) struct TyQualified {
|
|||
pub suggestion: Span,
|
||||
}
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_type_ir_inherent_usage)]
|
||||
#[note]
|
||||
pub(crate) struct TypeIrInherentUsage;
|
||||
|
||||
#[derive(LintDiagnostic)]
|
||||
#[diag(lint_non_glob_import_type_ir_inherent)]
|
||||
pub(crate) struct NonGlobImportTypeIrInherent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue