Use cargo workspace lints
This commit is contained in:
parent
131b581880
commit
db529688e9
8 changed files with 21 additions and 33 deletions
|
|
@ -1,14 +1,3 @@
|
|||
#![forbid(unsafe_code)]
|
||||
// Rustc lint groups
|
||||
#![warn(future_incompatible)]
|
||||
#![warn(rust_2018_idioms)]
|
||||
#![warn(unused)]
|
||||
// Rustc lints
|
||||
#![warn(noop_method_call)]
|
||||
#![warn(single_use_lifetimes)]
|
||||
// Clippy lints
|
||||
#![warn(clippy::use_self)]
|
||||
|
||||
use syn::{parse_macro_input, DeriveInput};
|
||||
|
||||
mod document;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue