Skip to content

Commit 5e30b71

Browse files
author
Cameron Zwarich
committed
Add a mention of a feature gate
In the Rust meeting it was decided that this should go in behind a feature gate. I arbitrarily chose the `bind_by_move_pattern_guards` name.
1 parent 1a77ca3 commit 5e30b71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

0000-pattern-guards-with-bind-by-move.md

+3
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ the changes proposed by this RFC, e.g.
123123
[Rust issue #14684](https://github.com/mozilla/rust/issues/14684). The general
124124
approach to resolving that issue should also work with these proposed changes.
125125

126+
This would be implemented behind a `feature(bind_by_move_pattern_guards)` gate
127+
until we have enough experience with the feature to remove the feature gate.
128+
126129
# Drawbacks
127130

128131
The current error message makes it more clear what the user is doing wrong, but

0 commit comments

Comments
 (0)