Revert "Allow a false-positive clippy lint"

The issue has been fixed with the latest clippy release and we don't
have to `allow` anymore.

This reverts commit 7f990144cc.
This commit is contained in:
Philipp Hansch 2018-04-01 12:40:14 +02:00
parent ee52f2f02c
commit 3fb0b614e8
No known key found for this signature in database
GPG Key ID: 93FB33459D311E5E
1 changed files with 0 additions and 2 deletions

View File

@ -269,8 +269,6 @@ macro_rules! fix { ($x:ident) => (Item::Fixed(Fixed::$x)) }
#[derive(Debug, Clone, PartialEq, Eq, Copy)] #[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub struct ParseError(ParseErrorKind); pub struct ParseError(ParseErrorKind);
// clippy false positive https://github.com/rust-lang-nursery/rust-clippy/issues/2475
#[cfg_attr(feature = "cargo-clippy", allow(empty_line_after_outer_attr))]
#[derive(Debug, Clone, PartialEq, Eq, Copy)] #[derive(Debug, Clone, PartialEq, Eq, Copy)]
enum ParseErrorKind { enum ParseErrorKind {
/// Given field is out of permitted range. /// Given field is out of permitted range.