Dan Johnson
da98ef9a5d
Ensure async trait impls are async (or otherwise return an opaque type)
...
As a workaround for the full `#[refine]` semantics not being implemented
yet, forbit returning a concrete future type like `Box<dyn Future>` or a
manually implemented Future.
`-> impl Future` is still permitted; while that can also cause
accidental refinement, that's behind a different feature gate
(`return_position_impl_trait_in_trait`) and that problem exists
regardless of whether the trait method is async, so will have to be
solved more generally.
Fixes #102745
2022-12-14 16:38:21 -08:00
..
2022-10-02 17:49:36 +02:00
2022-12-12 19:49:53 +01:00
2022-12-10 18:45:34 +01:00
2022-12-10 18:45:34 +01:00
2022-12-13 01:17:10 +01:00
2022-12-13 19:57:10 +01:00
2022-12-13 02:06:24 +09:00
2022-12-12 05:16:50 +00:00
2022-12-06 14:45:58 +00:00
2022-11-18 14:46:36 -08:00
2022-12-14 01:19:24 +00:00
2022-12-13 01:17:10 +01:00
2022-12-11 19:48:24 +00:00
2022-12-12 10:38:31 +00:00
2022-12-14 06:51:50 +00:00
2022-12-14 17:17:57 +01:00
2022-12-14 01:19:24 +00:00
2022-12-12 19:49:53 +01:00
2022-12-10 18:45:34 +01:00
2022-12-10 18:45:34 +01:00
2022-12-14 16:38:21 -08:00
2022-12-13 10:06:08 +00:00
2022-12-12 05:16:50 +00:00
2022-12-10 09:24:43 +01:00
2022-12-01 17:34:43 +00:00
2022-12-01 17:34:43 +00:00
2022-12-12 19:49:53 +01:00
2022-12-14 16:38:21 -08:00
2022-12-12 05:16:50 +00:00
2022-12-14 10:31:05 +01:00
2022-12-10 18:45:34 +01:00
2022-12-12 19:49:53 +01:00
2022-12-14 16:16:50 +00:00
2022-12-10 18:45:34 +01:00
2022-12-12 19:49:53 +01:00
2022-12-13 17:48:55 +00:00
2022-12-12 17:43:15 +01:00
2022-12-11 09:14:50 +00:00
2022-10-16 15:10:40 +01:00
2022-12-14 16:16:50 +00:00
2022-12-14 01:19:24 +00:00
2022-12-14 01:19:24 +00:00
2022-12-14 01:19:24 +00:00
2022-12-13 04:22:47 -08:00
2022-12-14 01:19:24 +00:00
2022-12-11 19:48:24 +00:00
2022-12-14 10:31:06 +01:00
2022-12-08 22:50:39 +00:00
2022-12-07 15:39:06 +01:00
2022-10-23 10:09:44 +02:00
2022-12-14 01:19:24 +00:00
2022-11-30 17:20:14 +00:00
2022-12-14 16:16:50 +00:00
2022-12-13 01:17:08 +01:00
2022-12-10 18:45:34 +01:00
2022-12-10 18:45:34 +01:00
2022-12-14 16:16:50 +00:00
2022-09-13 19:18:23 +02:00
2022-12-13 10:39:44 -08:00
2022-12-13 17:48:55 +00:00
2022-12-10 18:45:34 +01:00
2022-12-14 10:31:07 +01:00
2022-12-13 17:48:55 +00:00
2022-11-05 13:48:30 +00:00
2022-12-13 17:48:55 +00:00
2022-12-13 17:48:55 +00:00