about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-10-15 14:19:54 -0400
committerAaron Hill <aa1ronham@gmail.com>2020-10-24 14:28:13 -0400
commit283053a742277f9b949facdfc5f4996f503f3c4e (patch)
tree9a69330beef14def2b54eee0e26359a171b873e7 /src/test/codegen/src-hash-algorithm
parent07a63e6d1fabf3560e8e1e17c1d56b10a06152d9 (diff)
downloadrust-283053a742277f9b949facdfc5f4996f503f3c4e.tar.gz
rust-283053a742277f9b949facdfc5f4996f503f3c4e.zip
Compute proper module parent during resolution
Fixes #75982

The direct parent of a module may not be a module
(e.g. `const _: () =  { #[path = "foo.rs"] mod foo; };`).

To find the parent of a module for purposes of resolution, we need to
walk up the tree until we hit a module or a crate root.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions