Skip to content

Use check-pass instead of build-pass in some consts ui test suits - #78669

Merged
bors merged 1 commit into
rust-lang:masterfrom
sasurau4:test/check-pass-consts
Nov 11, 2020
Merged

Use check-pass instead of build-pass in some consts ui test suits#78669
bors merged 1 commit into
rust-lang:masterfrom
sasurau4:test/check-pass-consts

Conversation

@sasurau4

@sasurau4sasurau4 commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

Helps with #62277

Changed tests modified by #57175 because of the stabilization #![feature(const_let)].
They should be compile-fail because the feature gate checking disallow the feature before stabilization. So the feature gate checking have nothing to do with codegen according to https://rustc-dev-guide.rust-lang.org/feature-gate-ck.html.

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 2, 2020
@jyn514jyn514 added A-testsuite Area: The testsuite used to check the correctness of rustc C-cleanup Category: PRs that clean code up or issues documenting cleanup. labels Nov 4, 2020
@jyn514

Copy link
Copy Markdown
Member

Could you explain briefly why these should be check-pass instead of build-pass? #62277 (comment)

@Mark-SimulacrumMark-Simulacrum added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 6, 2020
@sasurau4
sasurau4force-pushed the test/check-pass-consts branch from 1efb08f to d757ecdCompareNovember 10, 2020 12:34
@sasurau4sasurau4 changed the title Use check-pass instead of build-pass in consts ui test suitsUse check-pass instead of build-pass in some consts ui test suitsNov 10, 2020
@sasurau4

Copy link
Copy Markdown
ContributorAuthor

I update the issue description.

@rustbot modify labels: -S-waiting-on-author +S-waiting-on-review

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 10, 2020
@jyn514

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Nov 10, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit d757ecd has been approved by jyn514

@borsbors 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 10, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 11, 2020
…as-schievink
Rollup of 14 pull requests
Successful merges:
- rust-lang#76765 (Make it more clear what an about async fn's returns when referring to what it returns)
- rust-lang#78574 (Use check-pass instead of build-pass in regions ui test suite)
- rust-lang#78669 (Use check-pass instead of build-pass in some consts ui test suits)
- rust-lang#78847 (Assert that a return place is not used for indexing during integration)
- rust-lang#78854 (Workaround for "could not fully normalize" ICE )
- rust-lang#78875 (rustc_target: Further cleanup use of target options)
- rust-lang#78887 (Add comments to explain memory usage optimization)
- rust-lang#78890 (comment attribution fix)
- rust-lang#78896 (Clarified description of write! macro)
- rust-lang#78897 (Add missing newline to error message of the default OOM hook)
- rust-lang#78898 (add regression test for rust-lang#78892)
- rust-lang#78908 ((rustdoc) [src] link for types defined by macros shows invocation, not defintion)
- rust-lang#78910 (Fix links to stabilized versions of some intrinsics)
- rust-lang#78912 (Add macro test for min-const-generics)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 3a2cbe6 into rust-lang:masterNov 11, 2020
@rustbotrustbot added this to the 1.49.0 milestone Nov 11, 2020
@sasurau4
sasurau4 deleted the test/check-pass-consts branch November 12, 2020 07:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@sasurau4@rust-highfive@jyn514@bors@Mark-Simulacrum@rustbot