diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-10-15 14:19:54 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-10-24 14:28:13 -0400 |
| commit | 283053a742277f9b949facdfc5f4996f503f3c4e (patch) | |
| tree | 9a69330beef14def2b54eee0e26359a171b873e7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 07a63e6d1fabf3560e8e1e17c1d56b10a06152d9 (diff) | |
| download | rust-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/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
