about summary refs log tree commit diff
path: root/src/test/compile-fail/refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-06-13 19:09:12 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-06-23 15:39:29 -0700
commit654d6444feafaa7bae17057d8b98823c7556ea14 (patch)
tree423bbab4e54f324b269942c6af7b1c01a1eeaa36 /src/test/compile-fail/refutable-pattern-errors.rs
parent575710f6cee318e2806b4563eb2887c1f03aaa18 (diff)
downloadrust-654d6444feafaa7bae17057d8b98823c7556ea14.tar.gz
rust-654d6444feafaa7bae17057d8b98823c7556ea14.zip
libsyntax: Disallow struct literals after `if`, `while`, `match`, and
`for...in`.

Closes #14803.

If you used a structure literal after one of these keywords, surround it
in parentheses.

[breaking-change]
Diffstat (limited to 'src/test/compile-fail/refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions