]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_feature/active.rs
Auto merge of #69393 - Dylan-DPC:rollup-rxbd1zg, r=Dylan-DPC
[rust.git] / src / librustc_feature / active.rs
index 135500c0a8d9ffb0b7643b7775a949e0109360fd..0082f4f1a6e8985e647b7797c71120d1e96cee95 100644 (file)
@@ -204,6 +204,10 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Added for testing E0705; perma-unstable.
     (active, test_2018_feature, "1.31.0", None, Some(Edition::Edition2018)),
 
+    /// Allows `#[repr(no_niche)]` (an implementation detail of `rustc`,
+    /// it is not on path for eventual stabilization).
+    (active, no_niche, "1.42.0", None, None),
+
     // no-tracking-issue-end
 
     // -------------------------------------------------------------------------