mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
internal: Give ConstBlockId and InTypeConstId named Location types
This commit is contained in:
parent
6b3659d38f
commit
abe249559d
12 changed files with 90 additions and 70 deletions
|
@ -2104,7 +2104,7 @@ pub struct InTypeConst {
|
|||
|
||||
impl InTypeConst {
|
||||
pub fn module(self, db: &dyn HirDatabase) -> Module {
|
||||
Module { id: self.id.lookup(db.upcast()).1.module(db.upcast()) }
|
||||
Module { id: self.id.lookup(db.upcast()).owner.module(db.upcast()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue