Diagnose some orphan trait impl cases

This commit is contained in:
Lukas Wirth 2023-11-14 18:09:28 +01:00
parent b74015512d
commit 6ddccc9a6e
8 changed files with 205 additions and 15 deletions

View file

@ -11,9 +11,3 @@ pub use crate::diagnostics::{
},
unsafe_check::{missing_unsafe, unsafe_expressions, UnsafeExpr},
};
#[derive(Debug, PartialEq, Eq)]
pub struct IncoherentImpl {
pub file_id: hir_expand::HirFileId,
pub impl_: syntax::AstPtr<syntax::ast::Impl>,
}