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. |
||
|---|---|---|
| .. | ||
| dynamic_lib | ||
| rmeta | ||
| creader.rs | ||
| dependency_format.rs | ||
| dynamic_lib.rs | ||
| foreign_modules.rs | ||
| lib.rs | ||
| link_args.rs | ||
| locator.rs | ||
| native_libs.rs | ||