internal: kill diagnostic sink

This commit is contained in:
Aleksey Kladov 2021-06-13 22:05:47 +03:00
parent 935c53b92e
commit ff52167c9a
4 changed files with 19 additions and 170 deletions

View file

@ -9,10 +9,6 @@ use hir_def::path::ModPath;
use hir_expand::{name::Name, HirFileId, InFile};
use syntax::{ast, AstPtr, SyntaxNodePtr, TextRange};
pub use crate::diagnostics_sink::{
Diagnostic, DiagnosticCode, DiagnosticSink, DiagnosticSinkBuilder,
};
macro_rules! diagnostics {
($($diag:ident,)*) => {
pub enum AnyDiagnostic {$(