Files
rust/tests/ui/splat
Jonathan Brouwer ede75f60b1 Rollup merge of #159643 - teor2345:splat-fn-ptr, r=folkertdev
Add support for splatted function pointers

Tracking issue: rust-lang/rust#153629

This PR adds support for splatted function pointers.

Currently splatted function pointers ICE due to unpopulated side-tables. This PR fixes the ICE by populating the side-table correctly, and fixes the MIR lowering code. It also refactors the surrounding code to reduce code duplication.

Generic function pointers also work. I'm sure if there's something extra we need to do to support all generic function pointers?

Close rust-lang/rust#158603
2026-08-08 00:38:21 +02:00
..