diff options
author | Aleksey Kladov <[email protected]> | 2021-06-13 19:09:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-13 19:09:03 +0100 |
commit | fc30c5ccbeba2a102922da497809dd3f812544c4 (patch) | |
tree | ed3067580e998f04e94bfb93508fe3f12c851c3b /crates/hir_ty | |
parent | 2ad78924621420cb323efdeb3d875ca3f47d940f (diff) |
internal: refactor incorrect case diagnostics
Diffstat (limited to 'crates/hir_ty')
-rw-r--r-- | crates/hir_ty/src/diagnostics.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/hir_ty/src/diagnostics.rs b/crates/hir_ty/src/diagnostics.rs index 407273943..6339c9687 100644 --- a/crates/hir_ty/src/diagnostics.rs +++ b/crates/hir_ty/src/diagnostics.rs | |||
@@ -84,9 +84,6 @@ impl fmt::Display for IdentType { | |||
84 | } | 84 | } |
85 | } | 85 | } |
86 | 86 | ||
87 | // Diagnostic: incorrect-ident-case | ||
88 | // | ||
89 | // 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]. | ||
90 | #[derive(Debug)] | 87 | #[derive(Debug)] |
91 | pub struct IncorrectCase { | 88 | pub struct IncorrectCase { |
92 | pub file: HirFileId, | 89 | pub file: HirFileId, |