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

typeck: taint if errors found during writeback #113125

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 12, 2023

  1. typeck: fix minor formatting

    Just a missing space between arguments.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    2b6d6e1 View commit details
    Browse the repository at this point in the history
  2. typeck: taint if errors found during writeback

    If any type added to the `TypeckResults` references an error then set
    tainted by errors. By doing this, const eval can be skipped on bodies
    that reference errors which would make const eval ICE.
    
    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c2e1ae4 View commit details
    Browse the repository at this point in the history
  3. tests: add tests for rust-lang#112630

    Signed-off-by: David Wood <david@davidtw.co>
    davidtwco committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    dc85120 View commit details
    Browse the repository at this point in the history