about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2022-02-23 08:06:22 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2022-02-25 08:00:52 -0500
commit22c3a71de1f798822594498559622407ed882d88 (patch)
treebb4315c823b1483d5e529dfd35718a613e2bc31b /compiler/rustc_data_structures
parentea65f50c52cebd3e632a761fd033e0faceeb900f (diff)
downloadrust-22c3a71de1f798822594498559622407ed882d88.tar.gz
rust-22c3a71de1f798822594498559622407ed882d88.zip
Switch bootstrap cfgs
Diffstat (limited to 'compiler/rustc_data_structures')
-rw-r--r--compiler/rustc_data_structures/src/intern.rs2
-rw-r--r--compiler/rustc_data_structures/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/intern.rs b/compiler/rustc_data_structures/src/intern.rs
index c79a5ebf093..46054fe7bcb 100644
--- a/compiler/rustc_data_structures/src/intern.rs
+++ b/compiler/rustc_data_structures/src/intern.rs
@@ -20,7 +20,7 @@ mod private {
 /// but you can only construct a `Interned` with `new_unchecked`, and not
 /// directly.
 #[derive(Debug)]
-#[cfg_attr(not(bootstrap), rustc_pass_by_value)]
+#[rustc_pass_by_value]
 pub struct Interned<'a, T>(pub &'a T, pub private::PrivateZst);
 
 impl<'a, T> Interned<'a, T> {
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs
index 3e93fe9a11f..b1e59d65029 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -28,7 +28,7 @@
 #![feature(vec_into_raw_parts)]
 #![allow(rustc::default_hash_types)]
 #![deny(unaligned_references)]
-#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
+#![allow(rustc::potential_query_instability)]
 
 #[macro_use]
 extern crate tracing;