about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-06 11:23:24 +0000
committerbors <bors@rust-lang.org>2022-11-06 11:23:24 +0000
commit534ddc6166a9031b0c269544929d68f2539ea7a0 (patch)
tree890271f3baa8fdd2af21d78b879e9c2b52b29bd5 /compiler/rustc_passes/src
parent88935e0beacb49bb552de1628bdf50b183f7b926 (diff)
parent3b6b6047b6d60879c589b4ad52badfc5752624ac (diff)
downloadrust-534ddc6166a9031b0c269544929d68f2539ea7a0.tar.gz
rust-534ddc6166a9031b0c269544929d68f2539ea7a0.zip
Auto merge of #103720 - crlf0710:most_translation_attr, r=compiler-errors
Lint against usages of `struct_span_lint_hir`.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_passes/src')
-rw-r--r--compiler/rustc_passes/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_passes/src/lib.rs b/compiler/rustc_passes/src/lib.rs
index 15f60f626c8..6e621b7eb5e 100644
--- a/compiler/rustc_passes/src/lib.rs
+++ b/compiler/rustc_passes/src/lib.rs
@@ -5,8 +5,6 @@
 //! This API is completely unstable and subject to change.
 
 #![allow(rustc::potential_query_instability)]
-#![deny(rustc::untranslatable_diagnostic)]
-#![deny(rustc::diagnostic_outside_of_impl)]
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![feature(iter_intersperse)]
 #![feature(let_chains)]