rust/crates/hir-ty/src/diagnostics.rs
2024-01-27 11:02:34 +01:00

14 lines
375 B
Rust

//! Type inference-based diagnostics.
mod decl_check;
mod expr;
mod match_check;
mod unsafe_check;
pub use crate::diagnostics::{
decl_check::{incorrect_case, CaseType, IncorrectCase},
expr::{
record_literal_missing_fields, record_pattern_missing_fields, BodyValidationDiagnostic,
},
unsafe_check::{missing_unsafe, unsafe_expressions, UnsafeExpr},
};