Files
rust/tests/ui/async-await
Jonathan Brouwer e158c29ec9 Rollup merge of #154179 - Enselic:gat-is-send-across-await, r=petrochenkov
tests/ui/async-await/gat-is-send-across-await.rs: New regression test

The test began passing in `nightly-2025-10-16`. Probably by c50aebba78 (rust-lang/rust#144064) because it fixed two "does not live long enough" errors. The test fails to compile with `nightly-2025-10-15` with such an error:

    $ rustc +nightly-2025-10-15 --edition 2018 tests/ui/async-await/gat-is-send-across-await.rs
    error: `impl G` does not live long enough
      --> tests/ui/async-await/gat-is-send-across-await.rs:16:24
       |
    16 |       let _: &dyn Send = &async move {
       |  ________________________^
    17 | |         let _gat = g.as_gat();
    18 | |         async{}.await
    19 | |     };
       | |_____^

Closes rust-lang/rust#111852 since that's where the test comes from.
2026-03-23 20:18:35 +01:00
..
2025-12-10 15:15:56 +01:00
2026-02-16 12:24:15 +00:00
2025-08-20 11:10:38 +02:00
2025-07-15 16:02:26 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-01-13 12:46:58 -05:00
2024-10-12 06:14:46 -04:00
2024-10-12 06:14:46 -04:00
2024-12-05 14:14:17 -08:00
2024-12-05 14:14:17 -08:00
2026-02-09 15:09:43 +08:00
2026-02-09 15:09:43 +08:00
2026-02-09 15:09:43 +08:00
2026-02-09 15:09:43 +08:00
2025-08-20 11:10:38 +02:00
2025-08-20 11:10:38 +02:00
2025-04-03 21:41:58 +00:00