Check extra function arg exprs even if the fn is not C-variadic#94636
Merged
bors merged 1 commit intorust-lang:masterfrom Mar 7, 2022
Merged
Check extra function arg exprs even if the fn is not C-variadic#94636bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
Contributor
|
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
davidtwco
approved these changes
Mar 7, 2022
Member
|
@bors r+ rollup |
Collaborator
|
📌 Commit 3f17dae has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Mar 7, 2022
…askrgr Rollup of 4 pull requests Successful merges: - rust-lang#94636 (Check extra function arg exprs even if the fn is not C-variadic) - rust-lang#94676 (Remove unnecessary `..` patterns) - rust-lang#94681 (CTFE engine: expose misc_cast to Miri) - rust-lang#94684 (Fix rustdoc for GATs with with anonymous bound regions) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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.
We should still call check_expr on the args that exceed the formal input ty count, so that we have expr types to emit during writeback.
Not sure where this regressed, but it wasn't due to the same root cause as #94334 I think. I thought this might've regressed in #92360, but I think that is in stable, ad the test I provided (which minimizes #94599) passes on stable in playground. Maybe it regressed in #93118.
Anywho, fixes #94599.