From 581567a4c8f418588bab5dbc760076c660111f81 Mon Sep 17 00:00:00 2001 From: ivan770 Date: Tue, 8 Dec 2020 20:50:13 +0200 Subject: Remove use via super --- crates/hir_ty/src/diagnostics/expr.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/hir_ty/src/diagnostics') 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::{ db::HirDatabase, diagnostics::{ match_check::{is_useful, MatchCheckCtx, Matrix, PatStack, Usefulness}, - MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkInTailExpr, MissingPatFields, + MismatchedArgCount, MissingFields, MissingMatchArms, MissingOkInTailExpr, MissingPatFields, RemoveThisSemicolon }, utils::variant_data, ApplicationTy, InferenceResult, Ty, TypeCtor, @@ -23,8 +23,6 @@ pub(crate) use hir_def::{ LocalFieldId, VariantId, }; -use super::RemoveThisSemicolon; - pub(super) struct ExprValidator<'a, 'b: 'a> { owner: DefWithBodyId, infer: Arc, -- cgit v1.2.3