rust/compiler/rustc_middle
Michael Goulet c0f1a69229
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.
2024-09-23 23:49:11 -04:00
..
src Rollup merge of #130618 - m-ou-se:skip-query, r=compiler-errors 2024-09-23 23:49:11 -04:00
Cargo.toml disable size asserts in the compiler when randomizing layouts 2024-08-31 23:56:45 +02:00
messages.ftl TL note: current means target 2024-09-20 10:02:14 -07:00
README.md

For more information about how rustc works, see the rustc dev guide.