rust/compiler/rustc_metadata/src
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
..
dynamic_lib
rmeta Compute proper module parent during resolution 2020-10-24 14:28:13 -04:00
creader.rs
dependency_format.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
dynamic_lib.rs
foreign_modules.rs
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
link_args.rs
locator.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
native_libs.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00