summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-array-double-move.rs
AgeCommit message (Collapse)AuthorLines
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-06-18Reject double moves out of array elementsCameron Zwarich-0/+21
Fixes #14986.