aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics
diff options
context:
space:
mode:
authorivan770 <[email protected]>2020-12-08 18:50:13 +0000
committerivan770 <[email protected]>2020-12-08 18:50:13 +0000
commit581567a4c8f418588bab5dbc760076c660111f81 (patch)
tree849f8020b169f8b5633abfa4a3c9318811fd86ce /crates/hir_ty/src/diagnostics
parentcb66bb8ff9609d4fc3702ac1ed6197802b54e473 (diff)
Remove use via super
Diffstat (limited to 'crates/hir_ty/src/diagnostics')
-rw-r--r--crates/hir_ty/src/diagnostics/expr.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir_ty/src/diagnostics/expr.rs
index 313422968..6ec15c180 100644
--- a/crates/hir_ty/src/diagnostics/expr.rs
+++ b/crates/hir_ty/src/diagnostics/expr.rs
@@ -11,7 +11,7 @@ use crate::{
11 db::HirDatabase, 11 db::HirDatabase,
12 diagnostics::{ 12 diagnostics::{
13 match_check::{is_useful, MatchCheckCtx, Matrix, PatStack, Usefulness}, 13 match_check::{is_useful, MatchCheckCtx, Matrix, PatStack, Usefulness},
14 MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkInTailExpr, MissingPatFields, 14 MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkInTailExpr, MissingPatFields, RemoveThisSemicolon
15 }, 15 },
16 utils::variant_data, 16 utils::variant_data,
17 ApplicationTy, InferenceResult, Ty, TypeCtor, 17 ApplicationTy, InferenceResult, Ty, TypeCtor,
@@ -23,8 +23,6 @@ pub(crate) use hir_def::{
23 LocalFieldId, VariantId, 23 LocalFieldId, VariantId,
24}; 24};
25 25
26use super::RemoveThisSemicolon;
27
28pub(super) struct ExprValidator<'a, 'b: 'a> { 26pub(super) struct ExprValidator<'a, 'b: 'a> {
29 owner: DefWithBodyId, 27 owner: DefWithBodyId,
30 infer: Arc<InferenceResult>, 28 infer: Arc<InferenceResult>,