Skip to content

Commit 64365e4

Browse files
committed
driveby status update to 2015 comment about parens in patterns
1 parent 3fb76f4 commit 64365e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs

+2
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ fn run() {
284284

285285
// FIXME: Allow attributes in pattern constexprs?
286286
// would require parens in patterns to allow disambiguation...
287+
// —which is now available under the `pattern_parentheses` feature gate
288+
// (tracking issue #51087)
287289

288290
reject_expr_parse("match 0 {
289291
0..=#[attr] 10 => ()

0 commit comments

Comments
 (0)