-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
fix trait implementations sort order #137428
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @compiler-errors. Use |
The job Click to see the possible cause of the failure (guessed by this bot)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please sort by args.len()
then the trait ref rendered as a string, otherwise you'll reintroduce some instability in trait ordering when you have two trait refs with the same number of args but different names
Fixes #135098