rust
rust copied to clipboard
Add FileCheck annotations to MIR-opt unnamed-fields tests
Part of #116971
Adds filecheck annotations to unnamed-fields mir-opt tests in tests/mir-opt/unnamed-fields
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) some time within the next two weeks.
Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:
@rustbot author: the review is finished, PR author should check the comments and take action accordingly@rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Can you share pointers/resources to improve the CHECK commands for filechecks in test cases.
r? mir-opt
I don't have the knowledge to effectively review the added test conditions, though it looks reasonable enough to me.
Can you share pointers/resources to improve the CHECK commands for filechecks in test cases.
I'm not sure I understand the question. Do you mean docs on the filecheck syntax? Or something else?
I'm not sure I understand the question. Do you mean docs on the filecheck syntax? Or something else?
Yes, for filecheck syntax.
Yes, for filecheck syntax.
the closest we have is https://github.com/rust-lang/rust/blob/master/tests/mir-opt/README.md#filecheck-directives, which is very sparse, so if you figure out something useful, don't hesitate to add it to that file
Thanks!
@bors r+ rollup
:pushpin: Commit ba70528fd8cfbc1bf3d0b08c60dd753d6865d8a6 has been approved by oli-obk
It is now in the queue for this repository.