Skip to content

Commit

Permalink
Deny extra_requirement_in_impl forward-compat lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Jan 19, 2017
1 parent 3dcb288 commit 2c9c70f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ declare_lint! {

declare_lint! {
pub EXTRA_REQUIREMENT_IN_IMPL,
Warn,
Deny,
"detects extra requirements in impls that were erroneously allowed"
}

Expand Down
2 changes: 0 additions & 2 deletions src/test/compile-fail/issue-18937.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

// Regression test for #18937.

#![deny(extra_requirement_in_impl)]

use std::fmt;

#[derive(Debug)]
Expand Down

0 comments on commit 2c9c70f

Please sign in to comment.