summary refs log tree commit diff
path: root/src/test/compile-fail/for-loop-refutable-pattern-error-message.rs
AgeCommit message (Collapse)AuthorLines
2015-10-09hygiene for `for` loops, `if let`, `while let`Nick Cameron-3/+1
and some unrelated test cleanups
2015-01-31Kill more `isize`sTobias Bucher-2/+2
2015-01-30custom message for refutable patterns in for loopsJorge Aparicio-1/+0
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-2/+2
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-2/+2
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-05-27syntax: desugar a `for` loop to a let binding to get better errorHuon Wilson-0/+16
messages when the pattern is refutable. This means the compiler points directly to the pattern and said that the problem is the pattern being refutable (rather than just saying that some value isn't covered in the `match` as it did previously). Fixes #14390.