about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJhonny Bill Mena <jhonnybillm@gmail.com>2022-08-21 09:17:09 -0400
committerJhonny Bill Mena <jhonnybillm@gmail.com>2022-08-21 09:17:09 -0400
commitc835d9c0d2049c1a664dab080fde9be1ceec334b (patch)
tree8d6e8a22241d683dfb811e7e476804392d86ae0c
parent4b695f7c4e1a02d160fe7e159abd0f87027c0fcf (diff)
downloadrust-c835d9c0d2049c1a664dab080fde9be1ceec334b.tar.gz
rust-c835d9c0d2049c1a664dab080fde9be1ceec334b.zip
ADD - diagnostic lints to rustc_transmute
Module is complete because it has zero diagnostics.
-rw-r--r--compiler/rustc_transmute/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_transmute/src/lib.rs b/compiler/rustc_transmute/src/lib.rs
index cfc7c752a6b..32e6cb9c64f 100644
--- a/compiler/rustc_transmute/src/lib.rs
+++ b/compiler/rustc_transmute/src/lib.rs
@@ -7,6 +7,8 @@
     result_into_ok_or_err
 )]
 #![allow(dead_code, unused_variables)]
+#![deny(rustc::untranslatable_diagnostic)]
+#![deny(rustc::diagnostic_outside_of_impl)]
 
 #[macro_use]
 extern crate tracing;