Skip to content

Commit c438cf1

Browse files
authored
Unrolled build for #142065
Rollup merge of #142065 - paolobarbolini:stabilize-const_eq_ignore_ascii_case, r=Mark-Simulacrum Stabilize `const_eq_ignore_ascii_case` Tracking issue: #131719 Closes #131719 FCP Completed: #131719 (comment)
2 parents cdd545b + 53c1301 commit c438cf1

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

library/core/src/slice/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl [u8] {
5252
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
5353
/// but without allocating and copying temporaries.
5454
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
55-
#[rustc_const_unstable(feature = "const_eq_ignore_ascii_case", issue = "131719")]
55+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
5656
#[must_use]
5757
#[inline]
5858
pub const fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool {

library/core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@ impl str {
26712671
/// assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
26722672
/// ```
26732673
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
2674-
#[rustc_const_unstable(feature = "const_eq_ignore_ascii_case", issue = "131719")]
2674+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
26752675
#[must_use]
26762676
#[inline]
26772677
pub const fn eq_ignore_ascii_case(&self, other: &str) -> bool {

src/tools/rust-analyzer/crates/ide-db/src/generated/lints.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4451,20 +4451,6 @@ The tracking issue for this feature is: [#133214]
44514451

44524452
[#133214]: https://github.com/rust-lang/rust/issues/133214
44534453

4454-
------------------------
4455-
"##,
4456-
default_severity: Severity::Allow,
4457-
warn_since: None,
4458-
deny_since: None,
4459-
},
4460-
Lint {
4461-
label: "const_eq_ignore_ascii_case",
4462-
description: r##"# `const_eq_ignore_ascii_case`
4463-
4464-
The tracking issue for this feature is: [#131719]
4465-
4466-
[#131719]: https://github.com/rust-lang/rust/issues/131719
4467-
44684454
------------------------
44694455
"##,
44704456
default_severity: Severity::Allow,

0 commit comments

Comments
 (0)