summary refs log tree commit diff
path: root/src/test/run-pass/borrow-tuple-fields.rs
AgeCommit message (Collapse)AuthorLines
2015-01-30Remove all `i` suffixesTobias Bucher-4/+4
2014-12-12Remove feature gate directives for `if_let`, `while_let`, and `tuple_indexing`.Chase Southwood-2/+0
2014-09-10Implement tuple and tuple struct indexingP1start-0/+48
This allows code to access the fields of tuples and tuple structs: let x = (1i, 2i); assert_eq!(x.1, 2); struct Point(int, int); let origin = Point(0, 0); assert_eq!(origin.0, 0); assert_eq!(origin.1, 0);