about summary refs log tree commit diff
path: root/src/test/compile-fail/bind-struct-early-modifiers.rs
AgeCommit message (Collapse)AuthorLines
2015-02-06Move compile-fail tests that are rejected by the parser to parse-failFlorian Hahn-17/+0
2015-01-19Fixes #21033 with accompanying test.Tom Chittenden-1/+1
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-06-23libsyntax: Disallow struct literals after `if`, `while`, `match`, andPatrick Walton-1/+1
`for...in`. Closes #14803. If you used a structure literal after one of these keywords, surround it in parentheses. [breaking-change]
2013-12-10Allow ref and mut modifiers for short form field patternsSteven Fackler-0/+17
Previously, if you wanted to bind a field mutably or by ref, you had to do something like Foo { x: ref mut x }. You can now just do Foo { ref mut x }. Closes #6137