mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
42e5621c53
Detect when suggested paths enter extern crates more rigorously When reporting resolution errors, the compiler tries to avoid suggesting importing inaccessible paths from other crates. However, the search for suggestions only recognized when it was entering a crate root directly, and so failed to recognize a path like `crate::module::private_item`, where `module` was imported from another crate with `use other_crate::module`, as entering another crate. Fixes #80079 Fixes #84081 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |