We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7ea9c0 + c8ce150 commit 8cf856eCopy full SHA for 8cf856e
src/tools/rust-analyzer/crates/hir-def/src/item_tree.rs
@@ -103,9 +103,8 @@ impl ItemTree {
103
let _p = tracing::info_span!("file_item_tree_query", ?file_id).entered();
104
static EMPTY: OnceLock<Arc<ItemTree>> = OnceLock::new();
105
106
- let syntax = db.parse_or_expand(file_id);
107
-
108
let ctx = lower::Ctx::new(db, file_id);
+ let syntax = db.parse_or_expand(file_id);
109
let mut top_attrs = None;
110
let mut item_tree = match_ast! {
111
match syntax {
0 commit comments