Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9dc4400

Browse files
committed
Auto merge of rust-lang#120837 - matthiaskrgr:rollup-479h9pk, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - rust-lang#113026 (Introduce `run-make` V2 infrastructure, a `run_make_support` library and port over 2 tests as example) - rust-lang#113671 (Make privacy visitor use types more (instead of HIR)) - rust-lang#120308 (core/time: avoid divisions in Duration::new) - rust-lang#120693 (Invert diagnostic lints.) - rust-lang#120704 (A drive-by rewrite of `give_region_a_name()`) - rust-lang#120809 (Use `transmute_unchecked` in `NonZero::new`.) - rust-lang#120817 (Fix more `ty::Error` ICEs in MIR passes) - rust-lang#120828 (Fix `ErrorGuaranteed` unsoundness with stash/steal.) - rust-lang#120831 (Startup objects disappearing from sysroot) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 972452c + e0d1c15 commit 9dc4400

File tree

166 files changed

+1176
-871
lines changed

Some content is hidden

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

166 files changed

+1176
-871
lines changed

Cargo.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3258,6 +3258,13 @@ dependencies = [
32583258
"serde_json",
32593259
]
32603260

3261+
[[package]]
3262+
name = "run_make_support"
3263+
version = "0.0.0"
3264+
dependencies = [
3265+
"shell-words",
3266+
]
3267+
32613268
[[package]]
32623269
name = "rust-demangler"
32633270
version = "0.0.1"
@@ -4374,6 +4381,7 @@ dependencies = [
43744381
"rustc_middle",
43754382
"rustc_session",
43764383
"rustc_span",
4384+
"rustc_ty_utils",
43774385
"tracing",
43784386
]
43794387

@@ -4968,6 +4976,12 @@ version = "0.1.5"
49684976
source = "registry+https://github.com/rust-lang/crates.io-index"
49694977
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
49704978

4979+
[[package]]
4980+
name = "shell-words"
4981+
version = "1.1.0"
4982+
source = "registry+https://github.com/rust-lang/crates.io-index"
4983+
checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
4984+
49714985
[[package]]
49724986
name = "shlex"
49734987
version = "1.1.0"

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ members = [
1010
"src/tools/clippy",
1111
"src/tools/clippy/clippy_dev",
1212
"src/tools/compiletest",
13+
"src/tools/run-make-support",
1314
"src/tools/error_index_generator",
1415
"src/tools/linkchecker",
1516
"src/tools/lint-docs",

compiler/rustc_arena/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
#![cfg_attr(test, feature(test))]
2323
#![feature(strict_provenance)]
2424
#![deny(unsafe_op_in_unsafe_fn)]
25-
#![deny(rustc::untranslatable_diagnostic)]
26-
#![deny(rustc::diagnostic_outside_of_impl)]
2725
#![allow(internal_features)]
2826
#![allow(clippy::mut_from_ref)] // Arena allocators are one of the places where this pattern is fine.
2927

compiler/rustc_ast/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
#![feature(min_specialization)]
1919
#![feature(negative_impls)]
2020
#![feature(stmt_expr_attributes)]
21-
#![deny(rustc::untranslatable_diagnostic)]
22-
#![deny(rustc::diagnostic_outside_of_impl)]
2321

2422
#[macro_use]
2523
extern crate rustc_macros;

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
#![feature(assert_matches)]
3737
#![feature(box_patterns)]
3838
#![feature(let_chains)]
39-
#![deny(rustc::untranslatable_diagnostic)]
40-
#![deny(rustc::diagnostic_outside_of_impl)]
4139

4240
#[macro_use]
4341
extern crate tracing;

compiler/rustc_ast_passes/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#![feature(if_let_guard)]
1212
#![feature(iter_is_partitioned)]
1313
#![feature(let_chains)]
14-
#![deny(rustc::untranslatable_diagnostic)]
15-
#![deny(rustc::diagnostic_outside_of_impl)]
1614

1715
pub mod ast_validation;
1816
mod errors;

compiler/rustc_ast_pretty/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#![allow(internal_features)]
22
#![feature(rustdoc_internals)]
33
#![doc(rust_logo)]
4-
#![deny(rustc::untranslatable_diagnostic)]
5-
#![deny(rustc::diagnostic_outside_of_impl)]
64
#![feature(box_patterns)]
75

86
mod helpers;

compiler/rustc_attr/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#![feature(rustdoc_internals)]
99
#![doc(rust_logo)]
1010
#![feature(let_chains)]
11-
#![deny(rustc::untranslatable_diagnostic)]
12-
#![deny(rustc::diagnostic_outside_of_impl)]
1311

1412
#[macro_use]
1513
extern crate rustc_macros;

compiler/rustc_borrowck/src/borrow_set.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![deny(rustc::untranslatable_diagnostic)]
2-
#![deny(rustc::diagnostic_outside_of_impl)]
31
use crate::path_utils::allow_two_phase_borrow;
42
use crate::place_ext::PlaceExt;
53
use crate::BorrowIndex;

compiler/rustc_borrowck/src/borrowck_errors.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#![allow(rustc::diagnostic_outside_of_impl)]
2+
#![allow(rustc::untranslatable_diagnostic)]
3+
14
use rustc_errors::{codes::*, struct_span_code_err, DiagCtxt, DiagnosticBuilder};
25
use rustc_middle::ty::{self, Ty, TyCtxt};
36
use rustc_span::Span;

0 commit comments

Comments
 (0)