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

Fail on internal compiler errors in compile-fail #13967

Merged
merged 2 commits into from
May 7, 2014

Conversation

richo
Copy link
Contributor

@richo richo commented May 6, 2014

This change makes internal compile errors in the compile-fail tests failures.

I believe this is the correct behaviour- those tests are intended to assert that the compiler doesn't proceed, not that it explodes.

So far, it fails on 4 tests in my environment, my testcase for #13943 which is what caused me to tackle this, and 3 others:

failures:
    [compile-fail] compile-fail/incompatible-tuple.rs # This one is mine and not on master
    [compile-fail] compile-fail/inherit-struct8.rs
    [compile-fail] compile-fail/issue-9725.rs
    [compile-fail] compile-fail/unsupported-cast.rs

@alexcrichton
Copy link
Member

This will need to temporarily ignore the tests, or fix them to land (as shown by the travis errors). If you ignore them, could you open an issue indicating what tests are ignored and place FIXME links at the top of the files?

@richo
Copy link
Contributor Author

richo commented May 6, 2014

I can't fix the tests right now, I'm ignoring them and filing issues.

@richo
Copy link
Contributor Author

richo commented May 6, 2014

Issues/ignores in, I think this should pass now (it does locally)

@lilyball lilyball changed the title Fail on intenral compiler errors in compile-fail Fail on internal compiler errors in compile-fail May 7, 2014
@richo
Copy link
Contributor Author

richo commented May 7, 2014

Fixed the typo in one of the commit messages. r?

bors added a commit that referenced this pull request May 7, 2014
This change makes internal compile errors in the compile-fail tests failures.

I believe this is the correct behaviour- those tests are intended to assert that the compiler doesn't proceed, not that it explodes.

So far, it fails on 4 tests in my environment, my testcase for #13943 which is what caused me to tackle this, and 3 others:

```
failures:
    [compile-fail] compile-fail/incompatible-tuple.rs # This one is mine and not on master
    [compile-fail] compile-fail/inherit-struct8.rs
    [compile-fail] compile-fail/issue-9725.rs
    [compile-fail] compile-fail/unsupported-cast.rs
```
@bors bors closed this May 7, 2014
@bors bors merged commit 201cd9e into rust-lang:master May 7, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2023
minor: Add version placeholder to changelog template

Closes rust-lang#13967

This isn't great because we need to fill it in manually, but getting the version number from GitHub Actions is a bit annoying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants