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

Do not ICE on invalid const param #84913

Merged
merged 1 commit into from
May 5, 2021
Merged

Commits on May 4, 2021

  1. Do not ICE on invalid const param

    When encountering a path that can't have generics, do not call
    `generics_of`. This would happen when writing something like
    `path::this_is_a_mod<const_val>`.
    
    Fix rust-lang#84831.
    estebank committed May 4, 2021
    Configuration menu
    Copy the full SHA
    11379f0 View commit details
    Browse the repository at this point in the history