mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
28b6607b5f
Resolve visibility paths as modules not as types. Asking for a resolution with `opt_ns = Some(TypeNS)` allows path resolution to look for type-relative paths, leaving unresolved segments behind. However, for visibility paths we really need to look for a module, so we need to pass `opt_ns = None`. Fixes https://github.com/rust-lang/rust/issues/109146 r? `@petrochenkov` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |