Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/diagnostics.rs')
| -rw-r--r-- | crates/hir-ty/src/diagnostics.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/hir-ty/src/diagnostics.rs b/crates/hir-ty/src/diagnostics.rs new file mode 100644 index 0000000000..37eb06be1d --- /dev/null +++ b/crates/hir-ty/src/diagnostics.rs @@ -0,0 +1,13 @@ +//! Type inference-based diagnostics. +mod expr; +mod match_check; +mod unsafe_check; +mod decl_check; + +pub use crate::diagnostics::{ + decl_check::{incorrect_case, IncorrectCase}, + expr::{ + record_literal_missing_fields, record_pattern_missing_fields, BodyValidationDiagnostic, + }, + unsafe_check::{missing_unsafe, unsafe_expressions, UnsafeExpr}, +}; |