Skip to content

Commit

Permalink
Make UNUSED_MUST_USE deny-by-default
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Jul 22, 2019
1 parent 0558246 commit fe440eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_lint/unused.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use log::debug;

declare_lint! {
pub UNUSED_MUST_USE,
Warn,
Deny,
"unused result of a type flagged as `#[must_use]`",
report_in_external_macro: true
}
Expand Down

0 comments on commit fe440eb

Please sign in to comment.