about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/prefixes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_borrowck/src/prefixes.rs')
-rw-r--r--compiler/rustc_borrowck/src/prefixes.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/prefixes.rs b/compiler/rustc_borrowck/src/prefixes.rs
index e9c9709bd1f..8bb3dc88b34 100644
--- a/compiler/rustc_borrowck/src/prefixes.rs
+++ b/compiler/rustc_borrowck/src/prefixes.rs
@@ -1,5 +1,3 @@
-#![deny(rustc::untranslatable_diagnostic)]
-#![deny(rustc::diagnostic_outside_of_impl)]
 //! From the NLL RFC: "The deep [aka 'supporting'] prefixes for an
 //! place are formed by stripping away fields and derefs, except that
 //! we stop when we reach the deref of a shared reference. [...] "