]> git.lizzy.rs Git - rust.git/blobdiff - src/libarena/lib.rs
Rollup merge of #23056 - awlnx:master, r=nrc
[rust.git] / src / libarena / lib.rs
index 4678fe15c8b7ba91efe53d6f9da1525a0ff5dbd1..01fb8e3587240ecd6b342c67605e96d869013744 100644 (file)
@@ -19,6 +19,8 @@
 //! arena but can only hold objects of a single type, and `Arena`, which is a
 //! more complex, slower arena which can hold objects of any type.
 
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "arena"]
 #![unstable(feature = "rustc_private")]
 #![staged_api]