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