diff options
author | Igor Aleksanov <[email protected]> | 2020-10-08 06:33:35 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-12 09:05:00 +0100 |
commit | 559cc970732d80e3ec624c20da4f8aac219d6b2e (patch) | |
tree | cc0efeae2653890f8c178c4b970851d7fc9552af /crates/hir_ty/src/diagnostics/decl_check.rs | |
parent | ebd30033b3743fafe0a0182b5ae34ffb27fe43ff (diff) |
Add to_upper_snake_case function to stdx
Diffstat (limited to 'crates/hir_ty/src/diagnostics/decl_check.rs')
-rw-r--r-- | crates/hir_ty/src/diagnostics/decl_check.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/diagnostics/decl_check.rs b/crates/hir_ty/src/diagnostics/decl_check.rs index 4c20921e5..901ccc94f 100644 --- a/crates/hir_ty/src/diagnostics/decl_check.rs +++ b/crates/hir_ty/src/diagnostics/decl_check.rs | |||
@@ -10,7 +10,7 @@ | |||
10 | //! - static items (e.g. `static FOO: u8 = 10;`) | 10 | //! - static items (e.g. `static FOO: u8 = 10;`) |
11 | //! - match arm bindings (e.g. `foo @ Some(_)`) | 11 | //! - match arm bindings (e.g. `foo @ Some(_)`) |
12 | 12 | ||
13 | mod str_helpers; | 13 | mod case_conv; |
14 | 14 | ||
15 | use hir_def::{ | 15 | use hir_def::{ |
16 | adt::VariantData, | 16 | adt::VariantData, |
@@ -29,7 +29,7 @@ use syntax::{ | |||
29 | 29 | ||
30 | use crate::{ | 30 | use crate::{ |
31 | db::HirDatabase, | 31 | db::HirDatabase, |
32 | diagnostics::{decl_check::str_helpers::*, CaseType, IncorrectCase}, | 32 | diagnostics::{decl_check::case_conv::*, CaseType, IncorrectCase}, |
33 | }; | 33 | }; |
34 | 34 | ||
35 | pub(super) struct DeclValidator<'a, 'b: 'a> { | 35 | pub(super) struct DeclValidator<'a, 'b: 'a> { |