diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-06-13 19:09:12 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-06-23 15:39:29 -0700 |
| commit | 654d6444feafaa7bae17057d8b98823c7556ea14 (patch) | |
| tree | 423bbab4e54f324b269942c6af7b1c01a1eeaa36 /src/test/compile-fail/refutable-pattern-errors.rs | |
| parent | 575710f6cee318e2806b4563eb2887c1f03aaa18 (diff) | |
| download | rust-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
