Files
rust/compiler
León Orell Valerian Liehr 193a95d30b Rollup merge of #134017 - compiler-errors:call-once-deduction, r=jieyouxu
Don't use `AsyncFnOnce::CallOnceFuture` bounds for signature deduction

We shouldn't be using `AsyncFnOnce::CallOnceFuture` projection bounds to deduce anything about the return type of an async closure, **only** `AsyncFnOnce::Output`. This was accidental b/c all we were looking at was the def id of the trait, rather than the projection. This PR fixes that.

This doesn't affect stable code, since `CallOnceFuture` bounds cannot be written on stable.

Fixes #134015
2024-12-10 13:51:10 +01:00
..
2024-11-23 13:52:54 +01:00
2024-12-09 21:55:13 +00:00
2024-12-06 18:42:31 +00:00
2024-12-06 16:42:09 -05:00