Skip to content

Conversation

@chenyukang
Copy link
Member

@chenyukang chenyukang commented Nov 21, 2025

Fixes #149038

The first commit is changing the old suggestion to verbose,
the second commit is a new added suggestion.

r? @estebank

@rustbot
Copy link
Collaborator

rustbot commented Nov 21, 2025

This PR modifies tests/ui/issues/. If this PR is adding new tests to tests/ui/issues/,
please refrain from doing so, and instead add it to more descriptive subdirectories.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 21, 2025
@chenyukang chenyukang force-pushed the yukang-fix-assoc-func-149038 branch from f4571e2 to 7d2329e Compare November 21, 2025 13:28
@chenyukang chenyukang force-pushed the yukang-fix-assoc-func-149038 branch from 7d2329e to e802180 Compare November 21, 2025 13:30
@estebank
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 12, 2025

📌 Commit e802180 has been approved by estebank

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 12, 2025
jhpratt added a commit to jhpratt/rust that referenced this pull request Dec 13, 2025
…49038, r=estebank

Add proper suggestion for associated function with unknown field

Fixes rust-lang#149038

The first commit is changing the old suggestion to verbose,
the second commit is a new added suggestion.

r? `@estebank`
bors added a commit that referenced this pull request Dec 13, 2025
Rollup of 11 pull requests

Successful merges:

 - #145278 (Update `rustc_codegen_gcc` rotate operation document)
 - #148825 (Add SystemTime::{MIN, MAX})
 - #148837 (Use `let...else` instead of `match foo { ... _ => return };` and `if let ... else return`)
 - #149177 (Add proper suggestion for associated function with unknown field)
 - #149843 (Inherit attributes in delegation)
 - #149860 (Fix: Prevent macro-expanded extern crates from shadowing extern arguments)
 - #149874 (Weak for Arc pointer is marked as DynSend/DynSync)
 - #149903 (Remove unused code in `cfg_old`)
 - #149911 (bootstrap: Don't pass an unused `--color` to compiletest)
 - #149916 (Add a sanity check in case of any duplicate nodes)
 - #149924 (`declare_lint_pass` for `INLINE_ALWAYS_MISMATCHING_TARGET_FEATURES`)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Dec 13, 2025
Rollup of 10 pull requests

Successful merges:

 - #145278 (Update `rustc_codegen_gcc` rotate operation document)
 - #148837 (Use `let...else` instead of `match foo { ... _ => return };` and `if let ... else return`)
 - #149177 (Add proper suggestion for associated function with unknown field)
 - #149843 (Inherit attributes in delegation)
 - #149860 (Fix: Prevent macro-expanded extern crates from shadowing extern arguments)
 - #149874 (Weak for Arc pointer is marked as DynSend/DynSync)
 - #149903 (Remove unused code in `cfg_old`)
 - #149911 (bootstrap: Don't pass an unused `--color` to compiletest)
 - #149916 (Add a sanity check in case of any duplicate nodes)
 - #149924 (`declare_lint_pass` for `INLINE_ALWAYS_MISMATCHING_TARGET_FEATURES`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d175f11 into rust-lang:main Dec 13, 2025
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 13, 2025
rust-timer added a commit that referenced this pull request Dec 13, 2025
Rollup merge of #149177 - chenyukang:yukang-fix-assoc-func-149038, r=estebank

Add proper suggestion for associated function with unknown field

Fixes #149038

The first commit is changing the old suggestion to verbose,
the second commit is a new added suggestion.

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

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing field resolve error doesn't look at associated functions

4 participants