mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
internal: refactor incorrect case diagnostics
This commit is contained in:
parent
2ad7892462
commit
fc30c5ccbe
6 changed files with 46 additions and 76 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue