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

impl Trait for .. {} does not require a feature gate #23225

Closed
alexcrichton opened this issue Mar 9, 2015 · 3 comments · Fixed by #23211
Closed

impl Trait for .. {} does not require a feature gate #23225

alexcrichton opened this issue Mar 9, 2015 · 3 comments · Fixed by #23211
Assignees
Milestone

Comments

@alexcrichton
Copy link
Member

I suspect that we may want more experience with this syntax before freezing it, but I may also be misremembering!

cc @nikomatsakis
cc @flaper87

@alexcrichton
Copy link
Member Author

triage: I-nominated

@flaper87
Copy link
Contributor

@alexcrichton I believe you're right. I'll work on a fix for this. Here's a test case:

use std::marker::MarkerTrait;

trait Test: MarkerTrait {}

impl Test for .. {}

fn main() {}

@pnkfelix
Copy link
Member

1.0 beta, P-backcompat-lang.

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 a pull request may close this issue.

3 participants