Merge pull request #2872 from rust-lang-nursery/pedantic-default

Move default_trait_access to pedantic
This commit is contained in:
Manish Goregaokar 2018-06-26 13:03:31 -07:00 committed by GitHub
commit 73a80c5950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ use crate::utils::{any_parent_is_automatically_derived, match_def_path, opt_def_
/// ``` /// ```
declare_clippy_lint! { declare_clippy_lint! {
pub DEFAULT_TRAIT_ACCESS, pub DEFAULT_TRAIT_ACCESS,
style, pedantic,
"checks for literal calls to Default::default()" "checks for literal calls to Default::default()"
} }