rust/crates/hir_ty/src/diagnostics.rs

14 lines
331 B
Rust
Raw Normal View History

2021-04-09 14:39:07 +02:00
//! Type inference-based diagnostics.
2020-07-14 10:52:18 +02:00
mod expr;
mod match_check;
2020-07-14 10:52:18 +02:00
mod unsafe_check;
mod decl_check;
2019-11-27 17:46:02 +03:00
pub use crate::diagnostics::{
decl_check::{incorrect_case, IncorrectCase},
2021-06-12 19:28:19 +03:00
expr::{
record_literal_missing_fields, record_pattern_missing_fields, BodyValidationDiagnostic,
},
unsafe_check::missing_unsafe,
};