Split out async_fn_in_trait into a separate feature by ComputerDruid · Pull Request #100734 · rust-lang/rust (original) (raw)
@tmandry, I added a return_position_impl_trait_in_trait
feature in #101224 (which probably will land by tonight). Basically in the same vein as #100734 (comment) "It also seems like a straightforward enough change that it could be introduced alongside other changes necessary to implement at least barebones support for the feature" (I needed to add the gate in order to actually impl anything, lol).
Do you think we need another feature gate? I'm fine if this PR is reworked to gate AFIT desugaring behind a different feature gate I guess, but I don' t personally see a benefit. Alternatively, this PR could be reworked to rename the gate from return_position_impl_trait_in_trait
to async_fn_in_trait
, if there is a concern about length of the feature name.