mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
Fix order-dependent visibility diagnostics Fixes rust-lang/rust#40066. Fixes https://github.com/rust-lang/rust/issues/109657. Delay visibility path diagnostics until module collection has finished, so paths to later non-ancestor modules report E0742 instead of an unresolved path error.