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 regression test for #74400 #88541

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

vandenheuvel
Copy link
Contributor

Closes #74400 by adding a regression test.

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 31, 2021
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@vandenheuvel
Copy link
Contributor Author

@Mark-Simulacrum

I'm trying to add a regression test for #74400 because it seems resolved: the nightly on the playground gives the right error, see this comment. Yet, when I add the test as in the PR linked above, I get the old, wrong error. I tried the same thing with a local project and latest nightly, and got the same result.

Could you help me understand, why running the test using x.py gives a different error?

@Mark-Simulacrum
Copy link
Member

I pushed up a locally blessed version which I think should work in CI as well. I'm not sure, but it's possible you were locally creating the stderr file with an older master? It looks like it branched off in february, which may have been before the recent-ish improvements in the last month or so?

@rust-log-analyzer

This comment has been minimized.

@vandenheuvel
Copy link
Contributor Author

@Mark-Simulacrum I think this is ready.

@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 6, 2021

📌 Commit fe7bcd6 has been approved by Mark-Simulacrum

@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 Sep 6, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 8, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#86263 (Rustdoc: Report Layout of enum variants)
 - rust-lang#88541 (Add regression test for rust-lang#74400)
 - rust-lang#88553 (Improve diagnostics for unary plus operators (rust-lang#88276))
 - rust-lang#88594 (More symbolic doc aliases)
 - rust-lang#88648 (Correct “copies” to “moves” in `<Option<T> as From<T>>::from` doc, and other copyediting)
 - rust-lang#88691 (Add a regression test for rust-lang#88649)
 - rust-lang#88694 (Drop 1.56 stabilizations from 1.55 release notes)
 - rust-lang#88712 (Fix docs for `uX::checked_next_multiple_of`)
 - rust-lang#88726 (Fix typo in `const_generics` replaced with `adt_const_params` note)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 4fb0084 into rust-lang:master Sep 8, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 8, 2021
@vandenheuvel vandenheuvel deleted the regression_test_74400 branch September 10, 2021 09:38
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type mismatch in function arguments E0631, E0271 are falsely recognized as E0308 mismatched types
6 participants