-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
rust/library/core/src/str/mod.rs
Line 220 in 8e54a21
#[rustc_const_stable(feature = "str_as_bytes", since = "1.32.0")] |
These were stabilized in 7767e7f as part of #63770 which was only included in 1.39.0 and up (GitHub displays this in the commit link).
The attribute was added in 5e17e39 as part of #67136, one could presumably check the other version attributes as well.
Affects:
str::as_bytes
str::is_empty
str::len
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
m-ou-se commentedon Feb 14, 2021
cc @oli-obk
oli-obk commentedon Feb 14, 2021
I just copy pasted these everywhere and forgot to check the versions on some of these. I guess I'll have to go through all of them to find out which ones I missed.
since
versions. #83053Auto merge of rust-lang#83053 - oli-obk:const_stab_version, r=m-ou-se