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

Ensure that ~const trait bounds on associated functions are in const traits or impls #116210

Merged
merged 1 commit into from
Oct 3, 2023

Commits on Sep 30, 2023

  1. Validate ~const trait bounds on associated fns.

    Previously, any associated function could have `~const` trait bounds on
    generic parameters, which could lead to ICEs when these bounds were used
    on associated functions of non-`#[const_trait] trait` or
    non-`impl const` blocks.
    
    Includes changes as per @fee1-dead's comments in rust-lang#116210.
    Raekye committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    884af36 View commit details
    Browse the repository at this point in the history