Merge pull request #2872 from rust-lang-nursery/pedantic-default
Move default_trait_access to pedantic
This commit is contained in:
commit
73a80c5950
@ -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()"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user