Skip to content

Commit 195e59c

Browse files
committed
Auto merge of #120843 - matthiaskrgr:rollup-med37z5, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #113671 (Make privacy visitor use types more (instead of HIR)) - #120308 (core/time: avoid divisions in Duration::new) - #120693 (Invert diagnostic lints.) - #120704 (A drive-by rewrite of `give_region_a_name()`) - #120809 (Use `transmute_unchecked` in `NonZero::new`.) - #120817 (Fix more `ty::Error` ICEs in MIR passes) - #120828 (Fix `ErrorGuaranteed` unsoundness with stash/steal.) - #120831 (Startup objects disappearing from sysroot) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 21ef223 + b089bf2 commit 195e59c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/bin/miri.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#![allow(
33
clippy::manual_range_contains,
44
clippy::useless_format,
5-
clippy::field_reassign_with_default
5+
clippy::field_reassign_with_default,
6+
rustc::diagnostic_outside_of_impl,
7+
rustc::untranslatable_diagnostic,
68
)]
79

810
extern crate rustc_data_structures;

src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
clippy::bool_to_int_with_if,
3434
clippy::box_default,
3535
clippy::needless_question_mark,
36+
rustc::diagnostic_outside_of_impl,
3637
// We are not implementing queries here so it's fine
37-
rustc::potential_query_instability
38+
rustc::potential_query_instability,
39+
rustc::untranslatable_diagnostic,
3840
)]
3941
#![warn(
4042
rust_2018_idioms,

0 commit comments

Comments
 (0)