about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2025-03-25 15:36:36 +0900
committerGitHub <noreply@github.com>2025-03-25 15:36:36 +0900
commit375710407199a9377c6e272acdfae938c5a5a771 (patch)
tree51b510d26244cc5734c5db97bc5dd9de89238062 /compiler/rustc_parse/src/parser/expr.rs
parentb2629be2de4372d819f6b5e8797b66257fb8ca61 (diff)
parent67e0b899f0db3f20ad29481b16703d81a896e749 (diff)
downloadrust-375710407199a9377c6e272acdfae938c5a5a771.tar.gz
rust-375710407199a9377c6e272acdfae938c5a5a771.zip
Rollup merge of #138895 - oli-obk:dedup-owner-id-creation, r=compiler-errors
Add a helper for building an owner id in ast lowering

Just some deduplication of owner-id creations. Will also help me later split up ast lowering into per-owner queries, as it won't be possible anymore to go from a NodeId to a DefId of an owner without doing extra work to check whether we have an owner id. So I'd just do that in the new `owner_id` function and keep the `local_def_id` function free of that logic
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions