Skip to content

Commit

Permalink
ADD - diagnostic lints to rustc_transmute
Browse files Browse the repository at this point in the history
Module is complete because it has zero diagnostics.
  • Loading branch information
JhonnyBillM committed Aug 21, 2022
1 parent 4b695f7 commit c835d9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_transmute/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c835d9c

Please sign in to comment.