]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #15234 : pcwalton/rust/integer-fallback-and-casts, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 29 Jun 2014 19:46:46 +0000 (19:46 +0000)
committerbors <bors@rust-lang.org>
Sun, 29 Jun 2014 19:46:46 +0000 (19:46 +0000)
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]

r? @alexcrichton


Trivial merge