From 470a8e1a97ceb34d0a10dcce99d24f3bfcd6ea4e Mon Sep 17 00:00:00 2001 From: kennytm Date: Sat, 30 Dec 2017 15:50:33 +0800 Subject: [PATCH] Remove excessive trailing newlines. --- src/test/codegen/prefetch.rs | 2 -- src/test/compile-fail/never-assign-wrong-type.rs | 2 -- src/test/compile-fail/range_inclusive_gate.rs | 2 -- src/test/incremental/hashes/enum_defs.rs | 2 -- src/test/incremental/hashes/inline_asm.rs | 3 --- src/test/parse-fail/range_inclusive_gate.rs | 2 -- src/test/run-fail/return-never-coerce.rs | 2 -- src/test/run-make/a-b-a-linker-guard/a.rs | 2 -- src/test/run-make/reproducible-build/reproducible-build.rs | 2 -- src/test/run-pass/optimization-fuel-1.rs | 2 -- src/test/ui-fulldeps/update-references.sh | 2 -- src/test/ui/update-references.sh | 2 -- 12 files changed, 25 deletions(-) diff --git a/src/test/codegen/prefetch.rs b/src/test/codegen/prefetch.rs index 9ca2f01f80d..3a23c16d521 100644 --- a/src/test/codegen/prefetch.rs +++ b/src/test/codegen/prefetch.rs @@ -71,5 +71,3 @@ pub fn check_prefetch_write_instruction(data: &[i8]) { prefetch_write_instruction(data.as_ptr(), 3); } } - - diff --git a/src/test/compile-fail/never-assign-wrong-type.rs b/src/test/compile-fail/never-assign-wrong-type.rs index d854e6eb203..c0dd2cab749 100644 --- a/src/test/compile-fail/never-assign-wrong-type.rs +++ b/src/test/compile-fail/never-assign-wrong-type.rs @@ -16,5 +16,3 @@ fn main() { let x: ! = "hello"; //~ ERROR mismatched types } - - diff --git a/src/test/compile-fail/range_inclusive_gate.rs b/src/test/compile-fail/range_inclusive_gate.rs index 69b9a4c67ad..5b063dc1137 100644 --- a/src/test/compile-fail/range_inclusive_gate.rs +++ b/src/test/compile-fail/range_inclusive_gate.rs @@ -19,5 +19,3 @@ pub fn main() { //~| ERROR core_intrinsics //~| ERROR core_intrinsics } - - diff --git a/src/test/incremental/hashes/enum_defs.rs b/src/test/incremental/hashes/enum_defs.rs index 02746785856..36cbd2239a0 100644 --- a/src/test/incremental/hashes/enum_defs.rs +++ b/src/test/incremental/hashes/enum_defs.rs @@ -651,5 +651,3 @@ mod change_trait_bound_indirectly_where { Variant1(T) } } - - diff --git a/src/test/incremental/hashes/inline_asm.rs b/src/test/incremental/hashes/inline_asm.rs index b93a9656603..3996e92e05a 100644 --- a/src/test/incremental/hashes/inline_asm.rs +++ b/src/test/incremental/hashes/inline_asm.rs @@ -236,6 +236,3 @@ pub fn change_options(_a: i32) -> i32 { } _out } - - - diff --git a/src/test/parse-fail/range_inclusive_gate.rs b/src/test/parse-fail/range_inclusive_gate.rs index de690c3fea3..6b6afc504e1 100644 --- a/src/test/parse-fail/range_inclusive_gate.rs +++ b/src/test/parse-fail/range_inclusive_gate.rs @@ -72,5 +72,3 @@ pub fn main() { o!(); // not allowed in macros that output cfgs p!(); // not allowed in cfg'ed macros that output cfgs } - - diff --git a/src/test/run-fail/return-never-coerce.rs b/src/test/run-fail/return-never-coerce.rs index 4cd93ac7e1a..ddcecd97ba5 100644 --- a/src/test/run-fail/return-never-coerce.rs +++ b/src/test/run-fail/return-never-coerce.rs @@ -24,5 +24,3 @@ fn main() { let x: i32 = call_another_fn(wub); let y: u32 = wub(); } - - diff --git a/src/test/run-make/a-b-a-linker-guard/a.rs b/src/test/run-make/a-b-a-linker-guard/a.rs index e6cbe2e64d0..c6680a78819 100644 --- a/src/test/run-make/a-b-a-linker-guard/a.rs +++ b/src/test/run-make/a-b-a-linker-guard/a.rs @@ -16,5 +16,3 @@ pub fn foo(x: u32) { } #[cfg(y)] pub fn foo(x: i32) { } - - diff --git a/src/test/run-make/reproducible-build/reproducible-build.rs b/src/test/run-make/reproducible-build/reproducible-build.rs index dc7c702e5cc..b47d780e529 100644 --- a/src/test/run-make/reproducible-build/reproducible-build.rs +++ b/src/test/run-make/reproducible-build/reproducible-build.rs @@ -124,5 +124,3 @@ fn main() { TupleStruct(1, 2, 3, 4).bar(); } - - diff --git a/src/test/run-pass/optimization-fuel-1.rs b/src/test/run-pass/optimization-fuel-1.rs index 5f294e26aa5..e3529ebfb0d 100644 --- a/src/test/run-pass/optimization-fuel-1.rs +++ b/src/test/run-pass/optimization-fuel-1.rs @@ -22,5 +22,3 @@ fn main() { +(size_of::() == 4) as usize; assert_eq!(optimized, 1); } - - diff --git a/src/test/ui-fulldeps/update-references.sh b/src/test/ui-fulldeps/update-references.sh index b9ded7d1e95..c2c842fcc49 100644 --- a/src/test/ui-fulldeps/update-references.sh +++ b/src/test/ui-fulldeps/update-references.sh @@ -46,5 +46,3 @@ while [[ "$1" != "" ]]; do cp $BUILD_DIR/$STDERR_NAME $MYDIR/$STDERR_NAME fi done - - diff --git a/src/test/ui/update-references.sh b/src/test/ui/update-references.sh index b9ded7d1e95..c2c842fcc49 100755 --- a/src/test/ui/update-references.sh +++ b/src/test/ui/update-references.sh @@ -46,5 +46,3 @@ while [[ "$1" != "" ]]; do cp $BUILD_DIR/$STDERR_NAME $MYDIR/$STDERR_NAME fi done - -