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).
This commit is contained in:
bors 2022-02-25 18:34:02 +00:00
commit d981633ed6
63 changed files with 429 additions and 503 deletions

View file

@ -47,9 +47,9 @@ impl CoverageStatement {
}
}
pub fn span(&self) -> &Span {
pub fn span(&self) -> Span {
match self {
Self::Statement(_, span, _) | Self::Terminator(_, span) => span,
Self::Statement(_, span, _) | Self::Terminator(_, span) => *span,
}
}
}

View file

@ -10,7 +10,7 @@
#![feature(trusted_step)]
#![feature(try_blocks)]
#![recursion_limit = "256"]
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
#![allow(rustc::potential_query_instability)]
#[macro_use]
extern crate tracing;