Skip to content

Commit 7569fca

Browse files
committed
Make UNUSED_MUST_USE warn-by-default
1 parent 49a552b commit 7569fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/unused.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use log::debug;
2525

2626
declare_lint! {
2727
pub UNUSED_MUST_USE,
28-
Deny,
28+
Warn,
2929
"unused result of a type flagged as `#[must_use]`",
3030
report_in_external_macro: true
3131
}

0 commit comments

Comments
 (0)