summary refs log tree commit diff
path: root/src/test/compile-fail/bind-struct-early-modifiers.rs
AgeCommit message (Collapse)AuthorLines
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