Skip to content

Commit d981633

Browse files
committed
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).
2 parents 6cbc6c3 + 3c62f2f commit d981633

File tree

63 files changed

+429
-503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+429
-503
lines changed

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#![feature(let_else)]
3636
#![feature(never_type)]
3737
#![recursion_limit = "256"]
38-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
38+
#![allow(rustc::potential_query_instability)]
3939

4040
use rustc_ast::token::{self, Token};
4141
use rustc_ast::tokenstream::{CanSynthesizeMissingTokens, TokenStream, TokenTree};

compiler/rustc_ast_passes/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#![feature(box_patterns)]
99
#![feature(let_else)]
1010
#![recursion_limit = "256"]
11-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
11+
#![allow(rustc::potential_query_instability)]
1212

1313
pub mod ast_validation;
1414
pub mod feature_gate;

compiler/rustc_borrowck/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#![feature(trusted_step)]
1010
#![feature(try_blocks)]
1111
#![recursion_limit = "256"]
12-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
12+
#![allow(rustc::potential_query_instability)]
1313

1414
#[macro_use]
1515
extern crate rustc_middle;

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#![feature(proc_macro_internals)]
1414
#![feature(proc_macro_quote)]
1515
#![recursion_limit = "256"]
16-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
16+
#![allow(rustc::potential_query_instability)]
1717

1818
extern crate proc_macro;
1919

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#![feature(once_cell)]
1313
#![feature(nll)]
1414
#![recursion_limit = "256"]
15-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
15+
#![allow(rustc::potential_query_instability)]
1616

1717
#[macro_use]
1818
extern crate rustc_macros;

compiler/rustc_codegen_ssa/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#![feature(nll)]
88
#![feature(associated_type_bounds)]
99
#![recursion_limit = "256"]
10-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
10+
#![allow(rustc::potential_query_instability)]
1111

1212
//! This crate contains codegen code that is used by all codegen backends (LLVM and others).
1313
//! The backend-agnostic functions of this crate use functions defined in various traits that

compiler/rustc_const_eval/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Rust MIR: a lowered representation of Rust.
2222
#![feature(trusted_step)]
2323
#![feature(try_blocks)]
2424
#![recursion_limit = "256"]
25-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
25+
#![allow(rustc::potential_query_instability)]
2626

2727
#[macro_use]
2828
extern crate tracing;

compiler/rustc_data_structures/src/intern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod private {
2020
/// but you can only construct a `Interned` with `new_unchecked`, and not
2121
/// directly.
2222
#[derive(Debug)]
23-
#[cfg_attr(not(bootstrap), rustc_pass_by_value)]
23+
#[rustc_pass_by_value]
2424
pub struct Interned<'a, T>(pub &'a T, pub private::PrivateZst);
2525

2626
impl<'a, T> Interned<'a, T> {

compiler/rustc_data_structures/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#![feature(vec_into_raw_parts)]
2929
#![allow(rustc::default_hash_types)]
3030
#![deny(unaligned_references)]
31-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
31+
#![allow(rustc::potential_query_instability)]
3232

3333
#[macro_use]
3434
extern crate tracing;

compiler/rustc_driver/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#![feature(let_else)]
1010
#![feature(once_cell)]
1111
#![recursion_limit = "256"]
12-
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
12+
#![allow(rustc::potential_query_instability)]
1313

1414
#[macro_use]
1515
extern crate tracing;

0 commit comments

Comments
 (0)