mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Sourcify some more
This commit is contained in:
parent
920848940a
commit
bd8af6a413
2 changed files with 23 additions and 13 deletions
|
@ -226,6 +226,8 @@ impl<N: AstNode> AstId<N> {
|
|||
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)]
|
||||
pub struct Source<T> {
|
||||
pub file_id: HirFileId,
|
||||
// FIXME: this stores all kind of things, not only `ast`.
|
||||
// There should be a better name...
|
||||
pub ast: T,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue