Skip to content

Render missing generics suggestion verbosely - #106608

Merged
bors merged 2 commits into
rust-lang:masterfrom
compiler-errors:missing-generics-verbose
Jan 13, 2023
Merged

Render missing generics suggestion verbosely#106608
bors merged 2 commits into
rust-lang:masterfrom
compiler-errors:missing-generics-verbose

Conversation

@compiler-errors

@compiler-errorscompiler-errors commented Jan 8, 2023

Copy link
Copy Markdown
Contributor

It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": , T" which render somewhat poorly inline.

Also don't suggest dyn as a type parameter to add, even if technically that's valid in edition 2015.

@rustbot

Copy link
Copy Markdown
Collaborator

r? @oli-obk

(rustbot has picked a reviewer for you, use r? to override)

@rustbotrustbot 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 Jan 8, 2023
@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

r? @estebank

@rustbotrustbot assigned estebank and unassigned oli-obkJan 8, 2023
@estebank

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Jan 9, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit 21ff605 has been approved by estebank

It is now in the queue for this repository.

@borsbors 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 Jan 9, 2023
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Jan 9, 2023
…erbose, r=estebank
Render missing generics suggestion verbosely
It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
@JohnTitorJohnTitor mentioned this pull request Jan 9, 2023
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Jan 9, 2023
…erbose, r=estebank
Render missing generics suggestion verbosely
It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
@JohnTitorJohnTitor mentioned this pull request Jan 9, 2023
@fee1-dead

Copy link
Copy Markdown
Member

@bors r-

Failed here

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 9, 2023
@compiler-errors
compiler-errorsforce-pushed the missing-generics-verbose branch from 21ff605 to 7c2dff0CompareJanuary 9, 2023 17:47
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

Blessed clippy test failure

@bors r=estebank

@bors

bors commented Jan 9, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit 7c2dff0 has been approved by estebank

It is now in the queue for this repository.

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 9, 2023
compiler-errors added a commit to compiler-errors/rust that referenced this pull request Jan 9, 2023
…erbose, r=estebank
Render missing generics suggestion verbosely
It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

@bors r-

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 9, 2023
@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

@bors r=estebank

@bors

bors commented Jan 12, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit bf0623e has been approved by estebank

It is now in the queue for this repository.

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 12, 2023
@JohnTitorJohnTitor mentioned this pull request Jan 13, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 13, 2023
…erbose, r=estebank
Render missing generics suggestion verbosely
It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 13, 2023
Rollup of 6 pull requests
Successful merges:
- rust-lang#106608 (Render missing generics suggestion verbosely)
- rust-lang#106716 ([RFC 2397] Deny incorrect locations)
- rust-lang#106754 (Rename `Ty::is_ty_infer` -> `Ty::is_ty_or_numeric_infer`)
- rust-lang#106782 (Ignore tests move in git blame)
- rust-lang#106785 (Make blame spans better for impl wfcheck)
- rust-lang#106791 (Fix ICE formatting)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 9a2f393 into rust-lang:masterJan 13, 2023
@rustbotrustbot added this to the 1.68.0 milestone Jan 13, 2023
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 27, 2023
…erbose, r=estebank
Render missing generics suggestion verbosely
It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 27, 2023
Rollup of 6 pull requests
Successful merges:
- rust-lang#106608 (Render missing generics suggestion verbosely)
- rust-lang#106716 ([RFC 2397] Deny incorrect locations)
- rust-lang#106754 (Rename `Ty::is_ty_infer` -> `Ty::is_ty_or_numeric_infer`)
- rust-lang#106782 (Ignore tests move in git blame)
- rust-lang#106785 (Make blame spans better for impl wfcheck)
- rust-lang#106791 (Fix ICE formatting)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@compiler-errors
compiler-errors deleted the missing-generics-verbose branch August 11, 2023 20:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

6 participants

@compiler-errors@rustbot@estebank@bors@fee1-dead@oli-obk