mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Generate ast nodes for each ast trait
This commit is contained in:
parent
ba84b91e78
commit
6d6e0b8f21
6 changed files with 480 additions and 51 deletions
|
@ -481,7 +481,7 @@ impl<'db> SemanticsImpl<'db> {
|
|||
)
|
||||
}
|
||||
|
||||
// This might not be the correct way to due this, but it works for now
|
||||
// This might not be the correct way to do this, but it works for now
|
||||
fn descend_node_into_attributes<N: AstNode>(&self, node: N) -> SmallVec<[N; 1]> {
|
||||
let mut res = smallvec![];
|
||||
let tokens = (|| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue