driveby status update to 2015 comment about parens in patterns

This commit is contained in:
Zack M. Davis 2018-06-03 12:42:05 -07:00
parent 3fb76f4027
commit 64365e46f2

View File

@ -284,6 +284,8 @@ fn run() {
// FIXME: Allow attributes in pattern constexprs?
// would require parens in patterns to allow disambiguation...
// —which is now available under the `pattern_parentheses` feature gate
// (tracking issue #51087)
reject_expr_parse("match 0 {
0..=#[attr] 10 => ()