Skip to content

Don't suggest unnameable generic arguments #99580

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

Merged
merged 1 commit into from
Jul 23, 2022

Conversation

fmease
Copy link
Member

@fmease fmease commented Jul 22, 2022

Fixes #99565.

@rustbot label T-compiler A-diagnostics
r? @rust-lang/wg-diagnostics

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jul 22, 2022
@rust-highfive
Copy link
Contributor

r? @estebank

(rust-highfive has picked a reviewer for you, use r? to override)

@rustbot
Copy link
Collaborator

rustbot commented Jul 22, 2022

Some changes occurred in need_type_info.rs

cc @lcnr

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 22, 2022
@rustbot rustbot added the A-diagnostics Area: Messages for errors, warnings, and lints label Jul 22, 2022
@fmease fmease marked this pull request as draft July 22, 2022 01:16
@rust-log-analyzer

This comment has been minimized.

@fmease fmease force-pushed the fix-issue-99565 branch from a19b522 to 58144bc Compare July 22, 2022 01:33
@fmease
Copy link
Member Author

fmease commented Jul 22, 2022

Several minor diagnostic regressions. Not sure how to fix them.

@fmease fmease marked this pull request as ready for review July 22, 2022 01:36
@fmease fmease force-pushed the fix-issue-99565 branch from 58144bc to 5e07ffb Compare July 22, 2022 01:38
@fmease fmease force-pushed the fix-issue-99565 branch from 5e07ffb to c98399f Compare July 22, 2022 02:55
@fmease
Copy link
Member Author

fmease commented Jul 22, 2022

I've applied your feedback which has also resolved those diagnostic regressions! :)

@estebank
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 22, 2022

📌 Commit c98399f 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 Jul 22, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 23, 2022
…askrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#99580 (Don't suggest unnameable generic arguments)
 - rust-lang#99617 (Update mdbook)
 - rust-lang#99631 (Use span_bug in case of unexpected rib kind)
 - rust-lang#99632 (Fix typo/grammar in locator.rs doc comment)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit b6d6f10 into rust-lang:master Jul 23, 2022
@rustbot rustbot added this to the 1.64.0 milestone Jul 23, 2022
@fmease fmease deleted the fix-issue-99565 branch July 23, 2022 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints 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.

“consider specifying the generic arguments” is confusing when some types are unnameable
7 participants