aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/decl_check.rs
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-08 06:33:35 +0100
committerIgor Aleksanov <[email protected]>2020-10-12 09:05:00 +0100
commit559cc970732d80e3ec624c20da4f8aac219d6b2e (patch)
treecc0efeae2653890f8c178c4b970851d7fc9552af /crates/hir_ty/src/diagnostics/decl_check.rs
parentebd30033b3743fafe0a0182b5ae34ffb27fe43ff (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.rs4
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
13mod str_helpers; 13mod case_conv;
14 14
15use hir_def::{ 15use hir_def::{
16 adt::VariantData, 16 adt::VariantData,
@@ -29,7 +29,7 @@ use syntax::{
29 29
30use crate::{ 30use 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
35pub(super) struct DeclValidator<'a, 'b: 'a> { 35pub(super) struct DeclValidator<'a, 'b: 'a> {