From 3908d86f8a4502d53b79dbc02371b2130b8fb512 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Mon, 20 May 2019 15:32:46 +0200 Subject: [PATCH] Don't rustfmt author test Co-Authored-By: Philipp Krones --- tests/ui/author/blocks.rs | 1 + tests/ui/author/blocks.stderr | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ui/author/blocks.rs b/tests/ui/author/blocks.rs index 912e67857..c7d173388 100644 --- a/tests/ui/author/blocks.rs +++ b/tests/ui/author/blocks.rs @@ -1,5 +1,6 @@ #![feature(stmt_expr_attributes)] +#[rustfmt::skip] fn main() { #[clippy::author] { diff --git a/tests/ui/author/blocks.stderr b/tests/ui/author/blocks.stderr index 426c52b65..a54a1422d 100644 --- a/tests/ui/author/blocks.stderr +++ b/tests/ui/author/blocks.stderr @@ -1,5 +1,5 @@ error: statement with no effect - --> $DIR/blocks.rs:13:5 + --> $DIR/blocks.rs:14:5 | LL | -x; | ^^^