mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
![]() 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 |
||
---|---|---|
.. | ||
locales/en-US | ||
src | ||
Cargo.toml |