Skip to content

Commit 5b4a086

Browse files
committed
Make lint deny-by-default (for crater run)
1 parent 495e2ed commit 5b4a086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_lint/src/default_could_be_derived.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ declare_lint! {
5454
/// so the derive for `Default` for a struct is trivial, and for an enum
5555
/// variant with no fields, which can be annotated with `#[default]`.
5656
pub DEFAULT_COULD_BE_DERIVED,
57-
Warn,
57+
Deny,
5858
"detect `Default` impl that could be derived"
5959
}
6060

0 commit comments

Comments
 (0)