summary refs log tree commit diff
path: root/src/test/compile-fail/borrow-tuple-fields.rs
AgeCommit message (Collapse)AuthorLines
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-6/+6
2015-01-08Update compile fail tests to use isize.Huon Wilson-2/+2
2015-01-08fallout: part of changes to compile-fail tests. (follows same pattern as ↵Felix S. Klock II-0/+3
prior two commits.)
2014-12-03Remove feature gates for `if let`, `while let`, and tuple indexingNick Cameron-2/+0
Closes #19469
2014-09-10Implement tuple and tuple struct indexingP1start-0/+42
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);