Files
rust/tests
许杰友 Jieyou Xu (Joe) 99de64bac7 Rollup merge of #145338 - lcnr:coroutine-witness-yikes, r=compiler-errors
actually provide the correct args to coroutine witnesses

rust-lang/rust#145194 accidentally provided all arguments of the closure to the witness, but the witness only takes the generic parameters of the defining scope: https://github.com/rust-lang/rust/blob/216cdb7b22b637cef75b7225c642cb7587192643/compiler/rustc_hir_typeck/src/closure.rs#L164

Fixes rust-lang/rust#145288
2025-08-19 19:45:30 +08:00
..
2025-07-13 13:50:01 +00:00
2025-08-14 18:18:42 +02:00
2025-08-09 15:47:01 +08:00