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

Stabilize const BTree{Map,Set}::new #102197

Merged
merged 2 commits into from
Sep 26, 2022
Merged

Commits on Sep 23, 2022

  1. Stabilize const BTree{Map,Set}::new

    Since `len` and `is_empty` are not const stable yet, this also
    creates a new feature for them since they previously used the same
    `const_btree_new` feature.
    Noratrieb committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    aa35ab8 View commit details
    Browse the repository at this point in the history
  2. Fix clippy's const fn stability check for CURRENT_RUSTC_VERSION

    Since clippy can use a projects MSRV for its lints, it might not want
    to consider functions as const stable if they have been added lately.
    
    Functions that have been stabilized this version use
    CURRENT_RUSTC_VERSION as their version, which gets then turned into the
    current version, which might be something like `1.66.0-dev`. The version
    parser cannot deal with this version, so it has to be stripped off.
    Noratrieb committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    66484c0 View commit details
    Browse the repository at this point in the history