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

make const tests independent of std debug assertions #118358

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

RalfJung
Copy link
Member

Fixes some fallout from #110303: ignore-debug is bad since it makes it very annoying to develop rustc with debug assertions enabled.

These tests do not really provide any interesting test coverage, we already got plenty of other tests that check that we detect invalid enums. So we can just remove them.

@rustbot
Copy link
Collaborator

rustbot commented Nov 27, 2023

r? @WaffleLapkin

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 27, 2023
@WaffleLapkin
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Nov 27, 2023

📌 Commit 8892d29 has been approved by WaffleLapkin

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 27, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 27, 2023
Rollup of 4 pull requests

Successful merges:

 - rust-lang#118095 (Enable the Arm Cortex-A53 errata mitigation on aarch64-unknown-none)
 - rust-lang#118340 (Use helper functions in `pretty.rs` instead of accessing the `Cell`s manually)
 - rust-lang#118358 (make const tests independent of std debug assertions)
 - rust-lang#118359 (Suggest swapping the order of `ref` and `box`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 465c4c9 into rust-lang:master Nov 27, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 27, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 27, 2023
Rollup merge of rust-lang#118358 - RalfJung:const-tests, r=WaffleLapkin

make const tests independent of std debug assertions

Fixes some fallout from rust-lang#110303: `ignore-debug` is bad since it makes it very annoying to develop rustc with debug assertions enabled.

These tests do not really provide any interesting test coverage, we already got plenty of other tests that check that we detect invalid enums. So we can just remove them.
@RalfJung RalfJung deleted the const-tests branch December 1, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants