about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/expect.rs
diff options
context:
space:
mode:
authorRejyr <jerrylwang123@gmail.com>2022-11-23 15:52:03 -0500
committerRejyr <jerrylwang123@gmail.com>2023-01-09 18:57:02 -0500
commit88e5dd2530a48b046d35402807c4b3bb44775688 (patch)
treed1d51bed9e266a32fc251de45479edca73355be7 /compiler/rustc_lint/src/expect.rs
parentfe09291036ca0d4c97d67f592442d09a1c45abd0 (diff)
downloadrust-88e5dd2530a48b046d35402807c4b3bb44775688.tar.gz
rust-88e5dd2530a48b046d35402807c4b3bb44775688.zip
refactor: cleanup
Diffstat (limited to 'compiler/rustc_lint/src/expect.rs')
-rw-r--r--compiler/rustc_lint/src/expect.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/expect.rs b/compiler/rustc_lint/src/expect.rs
index 8985ccee0cd..70c999811a5 100644
--- a/compiler/rustc_lint/src/expect.rs
+++ b/compiler/rustc_lint/src/expect.rs
@@ -1,5 +1,3 @@
-#![deny(rustc::untranslatable_diagnostic)]
-#![deny(rustc::diagnostic_outside_of_impl)]
 use crate::lints::{Expectation, ExpectationNote};
 use rustc_middle::ty::query::Providers;
 use rustc_middle::ty::TyCtxt;