Move source-related traits to a separate module

This commit is contained in:
Aleksey Kladov 2019-11-28 18:05:28 +03:00
parent 2c7f6b573e
commit 8f1f5a783a
10 changed files with 77 additions and 60 deletions

View file

@ -9,8 +9,9 @@ use ra_syntax::ast::{self, NameOwner, TypeBoundsOwner, TypeParamsOwner};
use crate::{
db::DefDatabase,
src::HasSource,
type_ref::{TypeBound, TypeRef},
AdtId, AstItemDef, ContainerId, GenericDefId, HasSource, Lookup,
AdtId, AstItemDef, ContainerId, GenericDefId, Lookup,
};
/// Data about a generic parameter (to a function, struct, impl, ...).