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

Fix incorrect usage of EvaluatedToOk when evaluating TypeOutlives #91329

Merged
merged 1 commit into from
Dec 3, 2021

Commits on Nov 28, 2021

  1. Fix incorrect usage of EvaluatedToOk when evaluating TypeOutlives

    A global predicate is not guarnatenteed to outlive all regions.
    If the predicate involves late-bound regions, then it may fail
    to outlive other regions (e.g. `for<'b> &'b bool: 'static` does not
    hold)
    
    We now only produce `EvaluatedToOk` when a global predicate has no
    late-bound regions - in that case, the ony region that can be present
    in the type is 'static
    Aaron1011 committed Nov 28, 2021
    Configuration menu
    Copy the full SHA
    4910fe6 View commit details
    Browse the repository at this point in the history