add: lints.rs
add: `lints.rs` refactor: move `InvalidAtomicOrderingDiag` to `lints.rs`
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
#![feature(never_type)]
|
||||
#![feature(rustc_attrs)]
|
||||
#![recursion_limit = "256"]
|
||||
// #![deny(rustc::untranslatable_diagnostic)]
|
||||
// #![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate rustc_middle;
|
||||
@@ -60,6 +62,7 @@ mod internal;
|
||||
mod late;
|
||||
mod let_underscore;
|
||||
mod levels;
|
||||
mod lints;
|
||||
mod methods;
|
||||
mod non_ascii_idents;
|
||||
mod non_fmt_panic;
|
||||
|
||||
Reference in New Issue
Block a user