add: lints.rs
add: `lints.rs` refactor: move `InvalidAtomicOrderingDiag` to `lints.rs`
This commit is contained in:
parent
3020239de9
commit
5a90537b62
3 changed files with 15 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue