Implement RFC 3624 supertrait_item_shadowing

This commit is contained in:
Michael Goulet
2024-05-30 13:29:54 -04:00
parent 9fcc9cf4a2
commit 0c85044a5d
5 changed files with 142 additions and 4 deletions

View File

@@ -633,6 +633,8 @@ declare_features! (
(unstable, strict_provenance_lints, "1.61.0", Some(130351)),
/// Allows string patterns to dereference values to match them.
(unstable, string_deref_patterns, "1.67.0", Some(87121)),
/// Allows subtrait items to shadow supertrait items.
(unstable, supertrait_item_shadowing, "CURRENT_RUSTC_VERSION", Some(89151)),
/// Allows using `#[thread_local]` on `static` items.
(unstable, thread_local, "1.0.0", Some(29594)),
/// Allows defining `trait X = A + B;` alias items.