Skip to content

Commit 04a8fae

Browse files
committed
Change defaulted () warnings to errors
1 parent 2b10dc2 commit 04a8fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ declare_lint! {
194194

195195
declare_lint! {
196196
pub RESOLVE_TRAIT_ON_DEFAULTED_UNIT,
197-
Warn,
197+
Deny,
198198
"attempt to resolve a trait on an expression whose type cannot be inferred but which \
199199
currently defaults to ()"
200200
}

0 commit comments

Comments
 (0)