rust-analyzer/crates/hir-ty/src/diagnostics.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
375 B
Rust
Raw Normal View History

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