diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-28 16:05:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-28 16:05:46 +0000 |
commit | 8b278b1ab660df0728508e45e88ac769a2e03a58 (patch) | |
tree | 38f32326e41d86d8c8a3c598ff4fbe66c557b4bd /crates/ra_hir_def/src/generics.rs | |
parent | 2c7f6b573e9b6133cc147a529dd2a23119bb4ae5 (diff) | |
parent | 8f1f5a783a3ffd0afbf5b1fdf22ff9caf7fda928 (diff) |
Merge #2442
2442: Move source-related traits to a separate module r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/generics.rs')
-rw-r--r-- | crates/ra_hir_def/src/generics.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/generics.rs b/crates/ra_hir_def/src/generics.rs index 3f94e40e4..5f648ffc3 100644 --- a/crates/ra_hir_def/src/generics.rs +++ b/crates/ra_hir_def/src/generics.rs | |||
@@ -9,8 +9,9 @@ use ra_syntax::ast::{self, NameOwner, TypeBoundsOwner, TypeParamsOwner}; | |||
9 | 9 | ||
10 | use crate::{ | 10 | use crate::{ |
11 | db::DefDatabase, | 11 | db::DefDatabase, |
12 | src::HasSource, | ||
12 | type_ref::{TypeBound, TypeRef}, | 13 | type_ref::{TypeBound, TypeRef}, |
13 | AdtId, AstItemDef, ContainerId, GenericDefId, HasSource, Lookup, | 14 | AdtId, AstItemDef, ContainerId, GenericDefId, Lookup, |
14 | }; | 15 | }; |
15 | 16 | ||
16 | /// Data about a generic parameter (to a function, struct, impl, ...). | 17 | /// Data about a generic parameter (to a function, struct, impl, ...). |