Skip to content

Commit

Permalink
Auto merge of #137907 - compiler-errors:inline-fnonce, r=saethlin
Browse files Browse the repository at this point in the history
Inline `FnOnce`/`FnMut`/`Fn` shims once again

This PR fixes the argument checking for `extern "rust-call"` ABI functions with a spread arg, which do no expect their arguments to be exploded from a tuple like closures do.

Secondly, it removes the hack that prevented them from being inlined. This results in more work done by the compiler, but it does end up allowing us to inline functions we didn't before.

Fixes #137901
  • Loading branch information
bors committed Mar 5, 2025
2 parents 1d53d9a + c001c2a commit 8256493
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8256493

Please sign in to comment.