9

Fix the emission order of `trait_duplication_in_bounds` by Jarcho · Pull Request...

 2 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/9397
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Fix the emission order of trait_duplication_in_bounds #9397

Conversation

Contributor

@Jarcho Jarcho commented 10 days ago

edited

Makes the lint emit in source order rather than whatever order the hash map happens to be in. This is currently blocking the sync into rustc.

changelog: None

All reactions

Collaborator

rust-highfive commented 10 days ago

r? @flip1995

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

rust-highfive

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

10 days ago

Jarcho

added the I-sync-blocker Issue: Prevents a change to be synced to rust-lang/rust label

9 days ago

Member

@dswij dswij left a comment

Change itself looks good to me. How does this issue cause the sync to fail?

All reactions

|

LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)

| ^^^^^^^

| ^^^^^

Contributor

Author

@Jarcho Jarcho 8 days ago

edited

Both this and the next warning were both emitted with the order depending on the order of a hash map. I guess there was a change recently that caused the order be reversed.

dswij reacted with thumbs up emoji All reactions

Member

dswij commented 8 days ago

Thanks for the fix! @bors r+

Contributor

bors commented 8 days ago

pushpin Commit 19ef04f has been approved by dswij

It is now in the queue for this repository.

Contributor

bors commented 8 days ago

hourglass Testing commit 19ef04f with merge f51aade...

bors

merged commit f51aade into

rust-lang:master

8 days ago

5 checks passed

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

Reviewers

dswij

Assignees

flip1995

Labels
I-sync-blocker Issue: Prevents a change to be synced to rust-lang/rust S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

None yet

5 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK