rust/compiler/rustc_middle
Aaron Hill 283053a742
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.
2020-10-24 14:28:13 -04:00
..
benches
src Compute proper module parent during resolution 2020-10-24 14:28:13 -04:00
Cargo.toml Update chalk to 0.32.0 2020-10-08 13:17:01 +02:00
README.md

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