Files
rust/tests/ui
Michael Goulet 7cd96ae2d7 Rollup merge of #109739 - compiler-errors:new-solver-closure-fnonce, r=lcnr
Closures always implement `FnOnce` in new solver

We should process `[closure]: FnOnce(Tys...) -> Ty` obligations *before* fallback and closure analysis. We can do this by taking advantage of the fact that `FnOnce` is always implemented by closures, even before we definitely know the closure kind.

Fixes compiler-errors/next-solver-hir-issues#15

r? ``@oli-obk`` (trying to spread the reviewer load for new trait solver prs, and this one is pretty self-contained, though feel free to reassign 😸)
2023-03-30 12:42:20 -07:00
..
2023-03-27 12:16:54 +00:00
2023-03-29 09:56:28 +08:00
2023-03-14 19:12:42 +00:00
2023-03-08 00:00:18 +00:00
2023-03-20 03:22:31 +08:00
2023-03-08 00:00:18 +00:00
2023-03-22 15:15:41 -07:00
2023-03-29 18:04:44 -04:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00