Add FileCheck for build_correct_coerce#156578
Open
eval-exec wants to merge 1 commit into
Open
Conversation
Collaborator
|
r? @TaKO8Ki rustbot has assigned @TaKO8Ki. Use Why was this reviewer chosen?The reviewer was selected based on:
|
There was a problem hiding this comment.
Pull request overview
Adds inline FileCheck assertions to the existing MIR optimization regression test for build_correct_coerce, enabling automated validation of the expected coercion target in generated MIR.
Changes:
- Removed
//@ skip-filecheck. - Added FileCheck expectations for
mainto assert the coerced function pointer type and assignment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
@bors r+ rollup |
Contributor
TaKO8Ki
approved these changes
May 19, 2026
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 19, 2026
…erce-filecheck, r=TaKO8Ki Add FileCheck for build_correct_coerce part of rust-lang#116971
rust-bors Bot
pushed a commit
that referenced
this pull request
May 19, 2026
…uwer Rollup of 6 pull requests Successful merges: - #154265 (ci: Add dist-aarch64-freebsd) - #156739 (miri subtree update) - #148666 (Add support for xray in aarch64 unknown none targets) - #156547 (Move tests closures) - #156578 (Add FileCheck for build_correct_coerce) - #156734 ([rustdoc] Move `span_map` file to the right folder)
rust-bors Bot
pushed a commit
that referenced
this pull request
May 19, 2026
…uwer Rollup of 6 pull requests Successful merges: - #154265 (ci: Add dist-aarch64-freebsd) - #156739 (miri subtree update) - #148666 (Add support for xray in aarch64 unknown none targets) - #156547 (Move tests closures) - #156578 (Add FileCheck for build_correct_coerce) - #156734 ([rustdoc] Move `span_map` file to the right folder)
rust-bors Bot
pushed a commit
that referenced
this pull request
May 19, 2026
…uwer Rollup of 6 pull requests Successful merges: - #154265 (ci: Add dist-aarch64-freebsd) - #156739 (miri subtree update) - #148666 (Add support for xray in aarch64 unknown none targets) - #156547 (Move tests closures) - #156578 (Add FileCheck for build_correct_coerce) - #156734 ([rustdoc] Move `span_map` file to the right folder)
rust-bors Bot
pushed a commit
that referenced
this pull request
May 19, 2026
…uwer Rollup of 6 pull requests Successful merges: - #154265 (ci: Add dist-aarch64-freebsd) - #156739 (miri subtree update) - #148666 (Add support for xray in aarch64 unknown none targets) - #156547 (Move tests closures) - #156578 (Add FileCheck for build_correct_coerce) - #156734 ([rustdoc] Move `span_map` file to the right folder)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
part of #116971