Skip to content

fix: Do not autoref in method probe in path mode#22392

Open
ChayimFriedman2 wants to merge 1 commit into
rust-lang:masterfrom
ChayimFriedman2:path-probe-autoref
Open

fix: Do not autoref in method probe in path mode#22392
ChayimFriedman2 wants to merge 1 commit into
rust-lang:masterfrom
ChayimFriedman2:path-probe-autoref

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

Fixes the first problem in #22387.

See also #t-types > Method resolution probe autorefs on path.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2026
140..153 'IsCopy.test()': bool
159..166 'NotCopy': NotCopy
159..173 'NotCopy.test()': bool
159..173 'NotCopy.test()': {unknown}
Copy link
Copy Markdown
Contributor Author

@ChayimFriedman2 ChayimFriedman2 May 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other test regressions are in path mode (where the trait doesn't hold) so expected. The ones in this file is in method call mode, so less expected. The reason for it is that if we fail to resolve with method call mode we retry with path mode.

rustc fails to resolve these methods as well.

View changes since the review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants