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

Conversation

pcwalton
Copy link
Contributor

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

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]
bors added a commit that referenced this pull request Jun 29, 2014
…excrichton

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
@bors bors closed this Jun 29, 2014
@bors bors merged commit a5bb0a3 into rust-lang:master Jun 29, 2014
chris-morgan added a commit to chris-morgan/rust-openssl that referenced this pull request Jun 30, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
Remind user to check $PATH after installation.

fixes rust-lang#14882 . I don't think that this is the correct wording to express this but I at least wanted to take the initiative :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integer fallback still somewhat present?
2 participants