Skip to content
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

Feature-gate explicit unboxed closure method calls & manual impls, #19587

Merged
merged 1 commit into from
Dec 9, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Dec 6, 2014

detect UFCS drop and allow UFCS methods to have explicit type parameters.

Work towards #18875.

Since code could previously call the methods & implement the traits
manually, this is a

[breaking-change]

Closes #19586. Closes #19375.

@nikomatsakis
Copy link
Contributor

r+ if you comment the new codes with a short description of what they represent

detect UFCS drop and allow UFCS methods to have explicit type parameters.

Work towards rust-lang#18875.

Since code could previously call the methods & implement the traits
manually, this is a

[breaking-change]

Closes rust-lang#19586. Closes rust-lang#19375.
@huonw huonw force-pushed the closure-feature-gate branch from 0367740 to e852419 Compare December 6, 2014 01:54
E0172
E0172,
E0173, // manual implementations of unboxed closure traits are experimental
E0174 // explicit use of unboxed closure methods are experimental
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, any particular reason why we want these codes commented here? This file isn't really meant for any sort of read consumption, it's more of a manifest.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 9, 2014
detect UFCS drop and allow UFCS methods to have explicit type parameters.

Work towards rust-lang#18875.

Since code could previously call the methods & implement the traits
manually, this is a

[breaking-change]

Closes rust-lang#19586. Closes rust-lang#19375.
@bors bors merged commit e852419 into rust-lang:master Dec 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants