Skip to content

Commit fe440eb

Browse files
committed
Make UNUSED_MUST_USE deny-by-default
1 parent 0558246 commit fe440eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/unused.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use log::debug;
2626

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

0 commit comments

Comments
 (0)