rust/compiler/rustc_error_messages
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
..
locales/en-US Ensure async trait impls are async (or otherwise return an opaque type) 2022-12-14 16:38:21 -08:00
src Match crate and slug names 2022-11-21 15:24:50 +01:00
Cargo.toml Enable icu sync feature for parallel compiler 2022-11-18 14:46:35 -08:00