Skip to content

Commit ad88831

Browse files
committed
Auto merge of #93548 - matthiaskrgr:rollup-f7dkn3p, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #86374 (Enable combining `+crt-static` and `relocation-model=pic` on `x86_64-unknown-linux-gnu`) - #91828 (Implement `RawWaker` and `Waker` getters for underlying pointers) - #92021 (Eliminate duplicate codes of is_single_fp_element) - #92584 (add rustc lint, warning when iterating over hashmaps 2) - #93267 (implement a lint for suspicious auto trait impls) - #93290 (remove `TyS::same_type`) - #93436 (Update compiler_builtins to fix duplicate symbols in `armv7-linux-androideabi` rlib) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents 686663a + 019c140 commit ad88831

File tree

88 files changed

+889
-241
lines changed

Some content is hidden

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

88 files changed

+889
-241
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ dependencies = [
761761

762762
[[package]]
763763
name = "compiler_builtins"
764-
version = "0.1.66"
764+
version = "0.1.67"
765765
source = "registry+https://github.com/rust-lang/crates.io-index"
766-
checksum = "191424db7756bbed2c4996959a0fbda94388abcf4f5a2728a8af17481ad9c4f7"
766+
checksum = "a68c69e9451f1df4b215c9588c621670c12286b53e60fb5ec4b59aaa1138d18e"
767767
dependencies = [
768768
"cc",
769769
"rustc-std-workspace-core",

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#![feature(box_patterns)]
3535
#![feature(never_type)]
3636
#![recursion_limit = "256"]
37+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
3738

3839
use rustc_ast::token::{self, Token};
3940
use rustc_ast::tokenstream::{CanSynthesizeMissingTokens, TokenStream, TokenTree};

compiler/rustc_ast_passes/src/lib.rs

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

1213
pub mod ast_validation;
1314
pub mod feature_gate;

compiler/rustc_borrowck/src/lib.rs

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

1314
#[macro_use]
1415
extern crate rustc_middle;

compiler/rustc_builtin_macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![feature(proc_macro_internals)]
1313
#![feature(proc_macro_quote)]
1414
#![recursion_limit = "256"]
15+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
1516

1617
extern crate proc_macro;
1718

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![feature(extern_types)]
1212
#![feature(nll)]
1313
#![recursion_limit = "256"]
14+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
1415

1516
use back::write::{create_informational_target_machine, create_target_machine};
1617

compiler/rustc_codegen_ssa/src/lib.rs

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

1112
//! This crate contains codegen code that is used by all codegen backends (LLVM and others).
1213
//! 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +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))]
2526

2627
#[macro_use]
2728
extern crate tracing;

compiler/rustc_data_structures/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#![feature(vec_into_raw_parts)]
2727
#![allow(rustc::default_hash_types)]
2828
#![deny(unaligned_references)]
29+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
2930

3031
#[macro_use]
3132
extern crate tracing;

compiler/rustc_driver/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#![feature(nll)]
99
#![feature(once_cell)]
1010
#![recursion_limit = "256"]
11+
#![cfg_attr(not(bootstrap), allow(rustc::potential_query_instability))]
1112

1213
#[macro_use]
1314
extern crate tracing;
@@ -845,7 +846,7 @@ Available lint options:
845846
let builtin = sort_lints(sess, builtin);
846847

847848
let (plugin_groups, builtin_groups): (Vec<_>, _) =
848-
lint_store.get_lint_groups().iter().cloned().partition(|&(.., p)| p);
849+
lint_store.get_lint_groups().partition(|&(.., p)| p);
849850
let plugin_groups = sort_lint_groups(plugin_groups);
850851
let builtin_groups = sort_lint_groups(builtin_groups);
851852

0 commit comments

Comments
 (0)