summary refs log tree commit diff
path: root/src/test/compile-fail/refutable-pattern-errors.rs
AgeCommit message (Collapse)AuthorLines
2015-01-31Kill more `isize`sTobias Bucher-1/+1
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-09-30librustc: Forbid `..` in range patterns.Patrick Walton-2/+2
This breaks code that looks like: match foo { 1..3 => { ... } } Instead, write: match foo { 1...3 => { ... } } Closes #17295. [breaking-change]
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-1/+1
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2014-06-20Address review commentsJakub Wieczorek-2/+2
2014-06-20Provide a witness pattern for non-exhaustive patternsJakub Wieczorek-2/+2
Fixed #4321
2014-06-20Check pattern refutability the same way exhaustiveness is checkedJakub Wieczorek-0/+18