Skip to content

Commit

Permalink
Change defaulted () warnings to errors
Browse files Browse the repository at this point in the history
  • Loading branch information
canndrew committed Jan 25, 2017
1 parent 2b10dc2 commit 04a8fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ declare_lint! {

declare_lint! {
pub RESOLVE_TRAIT_ON_DEFAULTED_UNIT,
Warn,
Deny,
"attempt to resolve a trait on an expression whose type cannot be inferred but which \
currently defaults to ()"
}
Expand Down

0 comments on commit 04a8fae

Please sign in to comment.