mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
add missing def kinds
This commit is contained in:
parent
2d3940d0ab
commit
0f9c350812
1 changed files with 20 additions and 0 deletions
|
@ -328,3 +328,23 @@ impl Function {
|
||||||
db.infer(self.def_id)
|
db.infer(self.def_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
|
pub struct Const {
|
||||||
|
pub(crate) def_id: DefId,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
|
pub struct Static {
|
||||||
|
pub(crate) def_id: DefId,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
|
pub struct Trait {
|
||||||
|
pub(crate) def_id: DefId,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
|
pub struct Type {
|
||||||
|
pub(crate) def_id: DefId,
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue