1
Fork 0
rust/compiler/rustc_parse/src
Matthias Krüger c179a15f7a
Rollup merge of #132612 - compiler-errors:async-trait-bounds, r=lcnr
Gate async fn trait bound modifier on `async_trait_bounds`

This PR moves `async Fn()` trait bounds into a new feature gate: `feature(async_trait_bounds)`. The general vibe is that we will most likely stabilize the `feature(async_closure)` *without* the `async Fn()` trait bound modifier, so we need to gate that separately.

We're trying to work on the general vision of `async` trait bound modifier general in: https://github.com/rust-lang/rfcs/pull/3710, however that RFC still needs more time for consensus to converge, and we've decided that the value that users get from calling the bound `async Fn()` is *not really* worth blocking landing async closures in general.
2024-12-03 17:27:05 +01:00
..
lexer Only error raw lifetime followed by \' in edition 2021+ 2024-12-01 05:23:16 +00:00
parser Rollup merge of #132612 - compiler-errors:async-trait-bounds, r=lcnr 2024-12-03 17:27:05 +01:00
errors.rs Eliminate magic numbers from expression precedence 2024-11-30 17:53:40 -08:00
lib.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
validate_attr.rs Change AttrArgs::Eq into a struct variant 2024-12-02 10:28:58 +00:00