rust/compiler
Matthias Krüger 52d550b20e
Rollup merge of #110872 - Jules-Bertholet:err-67981, r=wesleywiser
Nicer ICE for #67981

Provides a slightly nicer ICE for #67981, documenting the problem. A proper fix will be necessary before `#![feature(unsized_fn_params)]` can be stabilized.

The problem is that the design of the `"rust-call"` ABI is fundamentally not compatible with `unsized_fn_params`. `"rust-call"` functions need to collect their arguments into a tuple, but if the arguments are not `Sized`, said tuple is potentially not even a valid type—and if it is, it requires `alloca` to create.

``@rustbot`` label +A-abi +A-codegen +F-unboxed_closures +F-unsized_fn_params
2023-04-27 15:10:56 +02:00
..
2023-04-09 22:29:56 +02:00
2023-04-21 02:14:04 -07:00
2023-04-17 16:09:18 -04:00
2023-04-25 18:59:55 +01:00
2023-04-21 02:14:04 -07:00
2023-04-17 16:09:18 -04:00
2023-04-10 17:24:23 +09:00
2023-04-25 18:59:55 +01:00
2023-04-10 22:02:52 +02:00
2023-04-25 18:59:55 +01:00
2023-04-20 12:00:41 -03:00
2023-04-25 14:15:31 +08:00