about summary refs log tree commit diff
path: root/src/test/compile-fail/tuple-index-not-tuple.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-20/+0
2017-07-07Fold E0613 into E0609boreeas-2/+2
Resolves #42945
2017-06-15Add E0613Guillaume Gomez-2/+2
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
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/+22
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);