Skip to content

Commit c835d9c

Browse files
committed
ADD - diagnostic lints to rustc_transmute
Module is complete because it has zero diagnostics.
1 parent 4b695f7 commit c835d9c

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_transmute/src

1 file changed

+2
-0
lines changed

compiler/rustc_transmute/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
result_into_ok_or_err
88
)]
99
#![allow(dead_code, unused_variables)]
10+
#![deny(rustc::untranslatable_diagnostic)]
11+
#![deny(rustc::diagnostic_outside_of_impl)]
1012

1113
#[macro_use]
1214
extern crate tracing;

0 commit comments

Comments
 (0)