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

Stop checking for the absence of something that doesn't exist #111525

Merged
merged 1 commit into from
May 15, 2023

Commits on May 13, 2023

  1. Stop checking for the absense of something that doesn't exist

    A couple of codegen tests are doing
    ```
    // CHECK-NOT: slice_index_len_fail
    ```
    
    However, that function no longer exists: [the only places](https://github.com/search?q=repo%3Arust-lang%2Frust+slice_index_len_fail&type=code) it occurs in the repo are in those tests.
    
    So this PR updates the tests to check for the absense of the functions that are actually used today to panic for out-of-bounds indexing.
    scottmcm committed May 13, 2023
    Configuration menu
    Copy the full SHA
    a9570a3 View commit details
    Browse the repository at this point in the history