Commit e5d2746
authored
Rollup merge of #149269 - folkertdev:cmse-infer, r=davidtwco
cmse: do not calculate the layout of a type with infer types
tracking issue: rust-lang/rust#81391
tracking issue: rust-lang/rust#75835
fixes rust-lang/rust#130104
Don't calculate the layout of a type with an infer type (`_`). This now emits `LayoutError::Unknown`, causing an error similar to when any other calling convention is used in this location.
The tests use separate functions because only the first such error in a function body is reported.
r? `@davidtwco` (might need some T-types assistance)File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments