-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 box patterns #469
Conversation
I see no real advantage to moving If |
If this does not get fixed at 1.0, it will only be available in night lies, allowing for a breaking change. If it's not behind a gate, no breaking change will be possible. |
I’m not sure that feature gating is necessary here. The |
@P1start The goal for 1.0 is to remove / feature-gate any special-case behavior for |
@zwarich That’s certainly the first I’ve heard of that. Does that mean that moving out of |
@P1start RFC 130 limited dereferencing and moving out of boxes so that it could be implemented by a future As far as I know, this PR represents the only open issue with |
@zwarich Well, there is rust-lang/rust#14270, which isn’t related to I interpreted your original comment as saying that any feature at all that |
@P1start I've been working on a PR for rust-lang/rust#14270, although it is turning out to be more annoying than I expected. And yes, I meant things that we could implement in a backwards compatible way after 1.0. Obviously, there is more risk of not actually being backwards compatible when speaking hypothetically, but that's something we have to live with. |
We discussed this RFC this week in the Rust weekly meeting. Everyone present was in favor of feature-gating As per the evolving changes to the RFC process, the discussion is being summarized here before merging the RFC so that anyone can comment if they feel that their opinion was not properly represented (by me, in this case). |
I'm taking over this RFC. Given the previous discussion I think the time is ripe to accept this RFC. |
@steveklabnik: The link to the RFC in the OP is broken. Am I correct to assume you would be the one to fix it? Not sure how you could, since the poster’s account has been deleted. |
One can fix it by pointing to the blob that remains in the local repo instead of the poster's. Which I will do now. |
Also, for RFCs that have been accepted, a more Which I will do now. |
Rendered view
Update: RFC was accepted, text: https://github.com/rust-lang/rfcs/blob/master/text/0469-feature-gate-box-patterns.md