rust/tests/ui/type-alias-impl-trait
Matthias Krüger 22f19130df
Rollup merge of #119975 - lukas-code:inferring-return-types-and-opaque-types-do-mix-sometimes, r=compiler-errors
Don't ICE if TAIT-defining fn contains a closure with `_` in return type

The `delay_span_bug` got added in 0e82aaeb67 to reduce the amount of errors emitted for functions that have `_` in their return type, because inference doesn't apply to function items. But this logic shouldn't apply to closures, because their return types *can* be inferred.

Fixes https://github.com/rust-lang/rust/issues/119916.
2024-01-17 20:21:20 +01:00
..
2023-12-14 15:22:37 +01:00
2024-01-13 12:46:58 -05:00
2023-12-14 15:22:37 +01:00
2024-01-05 21:54:41 +00:00
2023-11-09 11:32:51 +01:00
2024-01-16 09:25:28 +01:00