We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495e2ed commit 5b4a086Copy full SHA for 5b4a086
compiler/rustc_lint/src/default_could_be_derived.rs
@@ -54,7 +54,7 @@ declare_lint! {
54
/// so the derive for `Default` for a struct is trivial, and for an enum
55
/// variant with no fields, which can be annotated with `#[default]`.
56
pub DEFAULT_COULD_BE_DERIVED,
57
- Warn,
+ Deny,
58
"detect `Default` impl that could be derived"
59
}
60
0 commit comments