From 9736d32f842d1f35b218f4fae219f61460d30607 Mon Sep 17 00:00:00 2001 From: varkor Date: Mon, 22 Apr 2019 15:50:02 +0100 Subject: [PATCH] Remove leading newlines --- src/rustc/rustc.rs | 1 - src/test/incremental/change_name_of_static_in_fn.rs | 1 - src/test/run-make-fulldeps/lto-dylib-dep/a_dylib.rs | 1 - src/test/run-make-fulldeps/lto-dylib-dep/main.rs | 1 - .../run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs | 3 +-- src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib.rs | 3 +-- src/test/ui/e0119/conflict-with-std.rs | 1 - .../ui/feature-gates/auxiliary/re_rebalance_coherence_lib.rs | 3 +-- src/test/ui/mod-subitem-as-enum-variant.rs | 1 - 9 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/rustc/rustc.rs b/src/rustc/rustc.rs index 626fceb5814..4a1786f89ed 100644 --- a/src/rustc/rustc.rs +++ b/src/rustc/rustc.rs @@ -1,4 +1,3 @@ - fn main() { // Pull in jemalloc when enabled. // diff --git a/src/test/incremental/change_name_of_static_in_fn.rs b/src/test/incremental/change_name_of_static_in_fn.rs index 5b27b6808ea..fd16ad2dca4 100644 --- a/src/test/incremental/change_name_of_static_in_fn.rs +++ b/src/test/incremental/change_name_of_static_in_fn.rs @@ -1,4 +1,3 @@ - // revisions:rpass1 rpass2 rpass3 // See issue #57692. diff --git a/src/test/run-make-fulldeps/lto-dylib-dep/a_dylib.rs b/src/test/run-make-fulldeps/lto-dylib-dep/a_dylib.rs index c5a35296f89..e63457e6eb9 100644 --- a/src/test/run-make-fulldeps/lto-dylib-dep/a_dylib.rs +++ b/src/test/run-make-fulldeps/lto-dylib-dep/a_dylib.rs @@ -1,4 +1,3 @@ - pub fn foo() { println!("bar"); } diff --git a/src/test/run-make-fulldeps/lto-dylib-dep/main.rs b/src/test/run-make-fulldeps/lto-dylib-dep/main.rs index af0955e7f35..4fb3c4730b2 100644 --- a/src/test/run-make-fulldeps/lto-dylib-dep/main.rs +++ b/src/test/run-make-fulldeps/lto-dylib-dep/main.rs @@ -1,4 +1,3 @@ - extern crate a_dylib; fn main() { diff --git a/src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs b/src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs index c8d027b25c7..41b9d64d5f7 100644 --- a/src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs +++ b/src/test/run-pass/coherence/auxiliary/re_rebalance_coherence_lib.rs @@ -1,5 +1,4 @@ - -pub trait Backend{} +pub trait Backend {} pub trait SupportsDefaultKeyword {} impl SupportsDefaultKeyword for Postgres {} diff --git a/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib.rs b/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib.rs index c8d027b25c7..41b9d64d5f7 100644 --- a/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib.rs +++ b/src/test/ui/coherence/auxiliary/re_rebalance_coherence_lib.rs @@ -1,5 +1,4 @@ - -pub trait Backend{} +pub trait Backend {} pub trait SupportsDefaultKeyword {} impl SupportsDefaultKeyword for Postgres {} diff --git a/src/test/ui/e0119/conflict-with-std.rs b/src/test/ui/e0119/conflict-with-std.rs index 6dc81f33dfc..c9db2bab183 100644 --- a/src/test/ui/e0119/conflict-with-std.rs +++ b/src/test/ui/e0119/conflict-with-std.rs @@ -1,4 +1,3 @@ - use std::marker::PhantomData; use std::convert::{TryFrom, AsRef}; diff --git a/src/test/ui/feature-gates/auxiliary/re_rebalance_coherence_lib.rs b/src/test/ui/feature-gates/auxiliary/re_rebalance_coherence_lib.rs index c8d027b25c7..41b9d64d5f7 100644 --- a/src/test/ui/feature-gates/auxiliary/re_rebalance_coherence_lib.rs +++ b/src/test/ui/feature-gates/auxiliary/re_rebalance_coherence_lib.rs @@ -1,5 +1,4 @@ - -pub trait Backend{} +pub trait Backend {} pub trait SupportsDefaultKeyword {} impl SupportsDefaultKeyword for Postgres {} diff --git a/src/test/ui/mod-subitem-as-enum-variant.rs b/src/test/ui/mod-subitem-as-enum-variant.rs index cd4459ae0ff..9328d1a9045 100644 --- a/src/test/ui/mod-subitem-as-enum-variant.rs +++ b/src/test/ui/mod-subitem-as-enum-variant.rs @@ -1,4 +1,3 @@ - mod Mod { pub struct FakeVariant(pub T); }