Remove use via super

This commit is contained in:
ivan770 2020-12-08 20:50:13 +02:00
parent cb66bb8ff9
commit 581567a4c8
No known key found for this signature in database
GPG key ID: D8C4BD5AE4D9CC4D

View file

@ -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<InferenceResult>,