]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_feature/accepted.rs
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / librustc_feature / accepted.rs
index d880fc84b3819c6a1c3732688bb474fb1db9ace6..18dc3e30db1d4727b97dedb15d470da5017b29e5 100644 (file)
@@ -257,6 +257,10 @@ macro_rules! declare_features {
     /// Allows relaxing the coherence rules such that
     /// `impl<T> ForeignTrait<LocalType> for ForeignType<T>` is permitted.
     (accepted, re_rebalance_coherence, "1.41.0", Some(55437), None),
+    /// Allows #[repr(transparent)] on univariant enums (RFC 2645).
+    (accepted, transparent_enums, "1.42.0", Some(60405), None),
+    /// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`.
+    (accepted, slice_patterns, "1.42.0", Some(62254), None),
 
     // -------------------------------------------------------------------------
     // feature-group-end: accepted features