diff options
author | Florian Diebold <[email protected]> | 2021-04-08 13:35:15 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-08 13:36:14 +0100 |
commit | d992736e796501b2a5ae232644924a3dfefede92 (patch) | |
tree | 5af343156b092f0e2a3cd0c26390428d1f1a3983 /crates/hir_ty/src/method_resolution.rs | |
parent | 8040f4a5e3792f95b3194e21b3f6d375fb7499c5 (diff) |
Remove unused
Diffstat (limited to 'crates/hir_ty/src/method_resolution.rs')
-rw-r--r-- | crates/hir_ty/src/method_resolution.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/crates/hir_ty/src/method_resolution.rs b/crates/hir_ty/src/method_resolution.rs index 766880b14..be3e4f09a 100644 --- a/crates/hir_ty/src/method_resolution.rs +++ b/crates/hir_ty/src/method_resolution.rs | |||
@@ -6,11 +6,7 @@ use std::{iter, sync::Arc}; | |||
6 | 6 | ||
7 | use arrayvec::ArrayVec; | 7 | use arrayvec::ArrayVec; |
8 | use base_db::CrateId; | 8 | use base_db::CrateId; |
9 | use chalk_ir::{ | 9 | use chalk_ir::{cast::Cast, Mutability, UniverseIndex}; |
10 | cast::Cast, | ||
11 | fold::{Fold, Folder}, | ||
12 | Fallible, Mutability, UniverseIndex, | ||
13 | }; | ||
14 | use hir_def::{ | 10 | use hir_def::{ |
15 | lang_item::LangItemTarget, nameres::DefMap, AssocContainerId, AssocItemId, FunctionId, | 11 | lang_item::LangItemTarget, nameres::DefMap, AssocContainerId, AssocItemId, FunctionId, |
16 | GenericDefId, HasModule, ImplId, Lookup, ModuleId, TraitId, | 12 | GenericDefId, HasModule, ImplId, Lookup, ModuleId, TraitId, |
@@ -25,9 +21,9 @@ use crate::{ | |||
25 | primitive::{self, FloatTy, IntTy, UintTy}, | 21 | primitive::{self, FloatTy, IntTy, UintTy}, |
26 | static_lifetime, | 22 | static_lifetime, |
27 | utils::all_super_traits, | 23 | utils::all_super_traits, |
28 | AdtId, BoundVar, Canonical, CanonicalVarKinds, DebruijnIndex, FnPointer, FnSig, ForeignDefId, | 24 | AdtId, Canonical, CanonicalVarKinds, DebruijnIndex, FnPointer, FnSig, ForeignDefId, |
29 | InEnvironment, Interner, Scalar, Substitution, TraitEnvironment, TraitRefExt, Ty, TyBuilder, | 25 | InEnvironment, Interner, Scalar, Substitution, TraitEnvironment, TraitRefExt, Ty, TyBuilder, |
30 | TyExt, TyKind, TypeWalk, | 26 | TyExt, TyKind, |
31 | }; | 27 | }; |
32 | 28 | ||
33 | /// This is used as a key for indexing impls. | 29 | /// This is used as a key for indexing impls. |