diff options
| author | bors <bors@rust-lang.org> | 2022-02-25 18:34:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-25 18:34:02 +0000 |
| commit | d981633ed6669c6f7b1cb46d1d1a7282e281ca8e (patch) | |
| tree | 88b6f0555d902c40dd9ae95cd4a77ae4f703a947 /compiler/rustc_data_structures/src | |
| parent | 6cbc6c35e4b0c948114619a1c883a75b731d32c5 (diff) | |
| parent | 3c62f2f635c7379bcdcf64e4efa5ffe4ecb0ba6d (diff) | |
| download | rust-d981633ed6669c6f7b1cb46d1d1a7282e281ca8e.tar.gz rust-d981633ed6669c6f7b1cb46d1d1a7282e281ca8e.zip | |
Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini
Bump bootstrap to 1.60 This bumps the bootstrap compiler to 1.60 and cleans up cfgs and Span's rustc_pass_by_value (enabled by the bootstrap bump).
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/intern.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_data_structures/src/lib.rs | 2 |
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; |
