Rollup merge of #135320 - camelid:coroutines-typo, r=lqd

Fix typo in `#[coroutine]` gating error
This commit is contained in:
Jacob Pratt 2025-01-10 03:55:22 -05:00 committed by GitHub
commit ee521dfd03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -572,7 +572,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
// `#[coroutine]` attribute to be applied to closures to make them coroutines instead
gated!(
coroutine, Normal, template!(Word), ErrorFollowing,
EncodeCrossCrate::No, coroutines, experimental!(coroutines)
EncodeCrossCrate::No, coroutines, experimental!(coroutine)
),
// RFC 3543