diff --git a/src/lib.rs b/src/lib.rs index 14872cfc610..e77eacb5c34 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,8 +100,7 @@ pub enum ErrorKind { #[fail( display = "line formatted, but exceeded maximum width \ (maximum: {} (see `max_width` option), found: {})", - _0, - _1 + _0, _1 )] LineOverflow(usize, usize), /// Line ends in whitespace. diff --git a/tests/target/enum.rs b/tests/target/enum.rs index 5da186cc201..57809b143f5 100644 --- a/tests/target/enum.rs +++ b/tests/target/enum.rs @@ -256,9 +256,7 @@ pub enum QlError { // (kind, input, expected) #[fail( display = "Could not find {}: Found: {}, expected: {:?}", - 0, - 1, - 2 + 0, 1, 2 )] ResolveError(&'static str, String, Option), }