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

disallow non-static lifetimes in const generics #74051

Merged
merged 2 commits into from
Jul 21, 2020

Commits on Jul 19, 2020

  1. disallow non-static lifetimes in const generics

    This has been put in place to patch over an ICE caused when we encounter
    a non-static lifetime in a const generic during borrow checking. This
    restriction may be relaxed in the future, but we need more discussion
    before then, and in the meantime we should still deal with this ICE.
    
    Fixes issue rust-lang#60814
    yodaldevoid committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    69d5dd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c60a035 View commit details
    Browse the repository at this point in the history