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

Add some more regression tests #77956

Merged
merged 7 commits into from
Oct 18, 2020
Merged

Add some more regression tests #77956

merged 7 commits into from
Oct 18, 2020

Conversation

JohnTitor
Copy link
Member

@JohnTitor JohnTitor commented Oct 14, 2020

This is another round of #77741. Tested with debug-assertions=true and it passed on my local.
Closes #70877
Closes #70944
Closes #71659
Closes #74816
Closes #75707
Closes #75983
(Skipped #63355 because I'm not sure about the error.)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 14, 2020
@jyn514 jyn514 added A-testsuite Area: The testsuite used to check the correctness of rustc T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 15, 2020
use std::rc::Rc;
use std::sync::Arc;

pub trait CastTo<T: ?Sized>: Unsize<T> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this is not using the minimal version that's in the issue description (as opposed to what's in the playground?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good point! I assumed that both examples were the same.

@nagisa
Copy link
Member

nagisa commented Oct 17, 2020

Overall LGTM, r=me but not instructing bors just in case you want to address the comment above, either way choice's yours.


As a side comment, these would have been easier to review if they were split into PRs for each of the E-needs-test issues.

@JohnTitor
Copy link
Member Author

Addressed the review via d80f93d and rebased to make sure the diagnostics aren't changed.
@bors r=nagisa

As a side comment, these would have been easier to review if they were split into PRs for each of the E-needs-test issues.

Fair enough, but in this case, #73905 fixed 10+ ICEs so it would have needed some more hustle :)

@bors
Copy link
Contributor

bors commented Oct 17, 2020

📌 Commit d80f93d has been approved by nagisa

@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 Oct 17, 2020
@bors
Copy link
Contributor

bors commented Oct 18, 2020

⌛ Testing commit d80f93d with merge cbc42a0...

@bors
Copy link
Contributor

bors commented Oct 18, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: nagisa
Pushing cbc42a0 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 18, 2020
@bors bors merged commit cbc42a0 into rust-lang:master Oct 18, 2020
@rustbot rustbot added this to the 1.49.0 milestone Oct 18, 2020
@JohnTitor JohnTitor deleted the more-tests branch October 18, 2020 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. 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
7 participants