rust/compiler/rustc_error_codes/src
bors 28b6607b5f Auto merge of #109348 - cjgillot:issue-109146, r=petrochenkov
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`
2023-08-05 11:52:07 +00:00
..
error_codes Auto merge of #109348 - cjgillot:issue-109146, r=petrochenkov 2023-08-05 11:52:07 +00:00
error_codes.rs Error code E0794 for late-bound lifetime parameter error. 2023-03-07 21:26:19 +01:00
lib.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00