Skip to content

internal: remove erroneous default impl #9582

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 4 commits into from
Jul 12, 2021
Merged

Conversation

matklad
Copy link
Member

@matklad matklad commented Jul 12, 2021

bors r+
🤖

matklad added 4 commits July 12, 2021 20:00
In rust-analyzer, we avoid defualt impls for types which don't have
sensible, "empty" defaults. In particular, we avoid using invalid
indices for defaults and similar hacks.
@bors
Copy link
Contributor

bors bot commented Jul 12, 2021

@bors bors bot merged commit c8d19fe into rust-lang:master Jul 12, 2021
@matklad
Copy link
Member Author

matklad commented Jul 12, 2021

@lnicola
Copy link
Member

lnicola commented Jul 12, 2021

Hunters in the snow ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants