-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diagnostics: Be clear about "crate root" and ::foo
paths in resolve diagnostics
#82881
Conversation
…ve diagnostics (for bare `::foo`)
…ve diagnostics for ::foo::Bar
r? @varkor (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try I ran most of the relevant tests but I probably missed something |
⌛ Trying commit 249e84806f6f8854468dcfd35944034e5920c19e with merge 7cc1252e91642661873c8193c2d8b36284383347... |
This comment has been minimized.
This comment has been minimized.
… on crate imports in 2018
@bors try |
⌛ Trying commit 0eeae1a with merge a4735d68b007154912ef3c8b5d978586d26e2643... |
☀️ Try build successful - checks-actions |
📌 Commit 0eeae1a has been approved by |
Rollup of 11 pull requests Successful merges: - rust-lang#82711 (Add documentation for string->Cow conversions) - rust-lang#82767 (Update minifier dependency version) - rust-lang#82800 (Move rustdoc UI tests into a subdirectory) - rust-lang#82810 (Typo fix in Unstable book: `cargo cov` -> `cargo profdata`) - rust-lang#82829 (Handle negative literals in cast overflow warning) - rust-lang#82854 (Account for `if (let pat = expr) {}`) - rust-lang#82870 (Add note about the `#[doc(no-inline)]` usage) - rust-lang#82874 (Add codegen tests for some issues closed by LLVM 12) - rust-lang#82881 (diagnostics: Be clear about "crate root" and `::foo` paths in resolve diagnostics) - rust-lang#82888 (Grammar Fixes) - rust-lang#82897 ([.mailmap] Add entry for Ramkumar Ramachandra) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Various changes to make sure the diagnostics are clear about the differences in
::foo
paths across editions:::foo
will say "crate root" in 2015 and "list of imported crates" in 2018crate::
will never reference imported crates in 2018Fixes #82876