internal: refactor incorrect case diagnostics

This commit is contained in:
Aleksey Kladov 2021-06-13 21:09:03 +03:00
parent 2ad7892462
commit fc30c5ccbe
6 changed files with 46 additions and 76 deletions

View file

@ -84,9 +84,6 @@ impl fmt::Display for IdentType {
}
}
// Diagnostic: incorrect-ident-case
//
// This diagnostic is triggered if an item name doesn't follow https://doc.rust-lang.org/1.0.0/style/style/naming/README.html[Rust naming convention].
#[derive(Debug)]
pub struct IncorrectCase {
pub file: HirFileId,