Point at local similarly named element and tweak references to variants#65421
Point at local similarly named element and tweak references to variants#65421bors merged 1 commit intorust-lang:masterfrom
Conversation
|
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
r? @petrochenkov (to make sure there's consensus due to #65386 (comment) and because Vadim knows resolve well ^^) |
There was a problem hiding this comment.
It seems to me that for some proc and derive macros the new output might be more confusing than helpful for new comers ("how do I do that"), but at the same time they'd be nice to have as well for everyone else.
src/test/ui/imports/extern-prelude-extern-crate-restricted-shadowing.stderr
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Somewhat unexpectedly (but not unforeseeably), this change now makes more obvious that attribute annotations are part of the public documentation and will be more visible than currently. In some cases like this one it might make sense to tweak them "out of the way" to improve readability while keeping the same semantic meaning.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
We cannot land this with disabled tests. The change causing non-reproducible output needs to be either removed or investigated/fixed to remove the source of non-reproducibility. Beside that the PR looks good. |
Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method.
|
@bors r=petrochenkov |
|
📌 Commit b26ddb8 has been approved by |
Point at local similarly named element and tweak references to variants Partially address rust-lang#65386.
Point at local similarly named element and tweak references to variants Partially address #65386.
|
☀️ Test successful - checks-azure |
Tested on commit rust-lang/rust@8d78bf6. Direct link to PR: <rust-lang/rust#65421> 💔 rls on windows: test-pass → test-fail (cc @Xanewok, @rust-lang/infra). 💔 rls on linux: test-pass → test-fail (cc @Xanewok, @rust-lang/infra).

Partially address #65386.