Skip to content

Commit 2356457

Browse files
committed
Change the default_methods lint mode from forbid to deny to fix tests
1 parent 5827f1c commit 2356457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ fn get_lint_dict() -> lint_dict {
207207
(~"default_methods",
208208
@{lint: default_methods,
209209
desc: ~"allow default methods",
210-
default: forbid}),
210+
default: deny}),
211211

212212
(~"deprecated_self",
213213
@{lint: deprecated_self,

0 commit comments

Comments
 (0)