Commit 3cfd3f3
authored
Rollup merge of #130618 - m-ou-se:skip-query, r=compiler-errors
Skip query in get_parent_item when possible.
For HirIds with a non-zero item local id, `self.parent_owner_iter(hir_id).next()` just returns the same HirId with the item local id set to 0, but also does a query to retrieve the Node which is ignored here, which seems wasteful.File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments