Add Container enum to handle both kinds of container (impl/trait)
This commit is contained in:
@@ -96,7 +96,7 @@ impl ImplBlock {
|
||||
db.generic_params((*self).into())
|
||||
}
|
||||
|
||||
pub(crate) fn resolver(&self, db: &impl HirDatabase) -> Resolver {
|
||||
pub(crate) fn resolver(&self, db: &impl DefDatabase) -> Resolver {
|
||||
let r = self.module().resolver(db);
|
||||
// add generic params, if present
|
||||
let p = self.generic_params(db);
|
||||
|
||||
Reference in New Issue
Block a user