Skip to content

Remove impl Foo for .. {} in favor auto trait Foo {}#46480

Closed
leoyvens wants to merge 8 commits intorust-lang:masterfrom
leoyvens:remove-impl-for-dot-dot
Closed

Remove impl Foo for .. {} in favor auto trait Foo {}#46480
leoyvens wants to merge 8 commits intorust-lang:masterfrom
leoyvens:remove-impl-for-dot-dot

Conversation

@leoyvens
Copy link
Copy Markdown
Contributor

@leoyvens leoyvens commented Dec 3, 2017

The new syntax was introduced and the old one deprecated in #45247. This removes the old syntax and simplifies some code as a result. Some errors that were possible with the old syntax no longer make sense. WF checking is moved to an ast validation.

There is some conflict with #46455, nothing serious. I guess this PR should be preferred where there is a conflict.

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

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-lang Relevant to the language team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants