Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librustc: Remove the fallback to int for integers and f64 for floating point numbers for real. #15234

Merged
merged 1 commit into from
Jun 29, 2014

Commits on Jun 29, 2014

  1. librustc: Remove the fallback to int for integers and f64 for

    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 rust-lang#15201.
    
    [breaking-change]
    pcwalton committed Jun 29, 2014
    5 Configuration menu
    Copy the full SHA
    a5bb0a3 View commit details
    Browse the repository at this point in the history