From d1f7608699e07e345caf4188ecbf415914c3241b Mon Sep 17 00:00:00 2001 From: woppopo Date: Sun, 17 Oct 2021 00:32:01 +0900 Subject: [PATCH] Add `#![cfg_attr(bootstrap, feature(const_panic))]` to `library/core/tests/lib.rs` --- library/core/tests/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs index 3608853dce4e0..cf669163d3ef2 100644 --- a/library/core/tests/lib.rs +++ b/library/core/tests/lib.rs @@ -10,6 +10,7 @@ #![feature(const_assume)] #![feature(const_cell_into_inner)] #![feature(const_maybe_uninit_assume_init)] +#![cfg_attr(bootstrap, feature(const_panic))] #![feature(const_ptr_read)] #![feature(const_ptr_write)] #![feature(const_ptr_offset)]