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

Suggest .into() over try_into() when it would work #71051

Merged
merged 3 commits into from
Apr 13, 2020

Commits on Apr 10, 2020

  1. Suggest x.into() when it is a better choice than x.try_into() when

    converting ints in librustc_typeck
    Fixes rust-lang#70851
    ryr3 committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    b3c9912 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. Fix order of comparison and remove incorrect case for ints in typeck/…

    …demand.rs
    
    Add tests for *size
    ryr3 committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    55464eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ffc1ab View commit details
    Browse the repository at this point in the history