Skip to content

Commit

Permalink
Rollup merge of #100842 - JhonnyBillM:enable-diag-lint-in-transmute, …
Browse files Browse the repository at this point in the history
…r=TaKO8Ki

Add diagnostics lints to `rustc_transmute` module (zero diags)

Module is complete because it has zero diagnostics.
  • Loading branch information
matthiaskrgr authored Aug 21, 2022
2 parents 5e761f3 + c835d9c commit 5ba68df
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 5ba68df

Please sign in to comment.