]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_feature/active.rs
Auto merge of #67076 - mbrubeck:condvar, r=dtolnay
[rust.git] / src / librustc_feature / active.rs
index 77ee9f40b6c714892420b5c71957bfc96c383a4c..319cd88f24586e4d174264682a8d4d88bafd4001 100644 (file)
@@ -192,9 +192,6 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Allows using the `unadjusted` ABI; perma-unstable.
     (active, abi_unadjusted, "1.16.0", None, None),
 
-    /// Allows identifying crates that contain sanitizer runtimes.
-    (active, sanitizer_runtime, "1.17.0", None, None),
-
     /// Used to identify crates that contain the profiler runtime.
     (active, profiler_runtime, "1.18.0", None, None),
 
@@ -534,6 +531,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
     (active, cfg_sanitize, "1.41.0", Some(39699), None),
 
+    /// Allows using `..X`, `..=X`, `...X`, and `X..` as a pattern.
+    (active, half_open_range_patterns, "1.41.0", Some(67264), None),
+
     /// Allows using `&mut` in constant functions.
     (active, const_mut_refs, "1.41.0", Some(57349), None),
 
@@ -547,6 +547,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Allows `impl const Trait for T` syntax.
     (active, const_trait_impl, "1.42.0", Some(67792), None),
 
+    /// Allows `T: ?const Trait` syntax in bounds.
+    (active, const_trait_bound_opt_out, "1.42.0", Some(67794), None),
+
     // -------------------------------------------------------------------------
     // feature-group-end: actual feature gates
     // -------------------------------------------------------------------------
@@ -563,4 +566,5 @@ pub fn set(&self, features: &mut Features, span: Span) {
     sym::let_chains,
     sym::raw_dylib,
     sym::const_trait_impl,
+    sym::const_trait_bound_opt_out,
 ];