From d3e171861f0fd8f3a61ad28d70f675ea9dc712b8 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 29 Sep 2014 08:57:48 -0700 Subject: [PATCH] Test fixes from the rollup --- src/test/compile-fail/asm-src-loc.rs | 2 +- src/test/compile-fail/issue-16465.rs | 2 +- src/test/compile-fail/pat-range-bad-dots.rs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/compile-fail/asm-src-loc.rs b/src/test/compile-fail/asm-src-loc.rs index 8da6cca77cc..b4ebe07776a 100644 --- a/src/test/compile-fail/asm-src-loc.rs +++ b/src/test/compile-fail/asm-src-loc.rs @@ -12,6 +12,6 @@ fn main() { unsafe { - asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction mnemonic + asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction } } diff --git a/src/test/compile-fail/issue-16465.rs b/src/test/compile-fail/issue-16465.rs index cc2cfa9a9fa..280f19cfe9c 100644 --- a/src/test/compile-fail/issue-16465.rs +++ b/src/test/compile-fail/issue-16465.rs @@ -17,7 +17,7 @@ struct Foo{ type FooInt = Foo; impl Drop for FooInt { -//~^ ERROR cannot implement a destructor on a structure with type parameters +//~^ ERROR cannot implement a destructor on a structure with type parameters fn drop(&mut self){} } diff --git a/src/test/compile-fail/pat-range-bad-dots.rs b/src/test/compile-fail/pat-range-bad-dots.rs index 5605caaeeed..b3c436f6d2b 100644 --- a/src/test/compile-fail/pat-range-bad-dots.rs +++ b/src/test/compile-fail/pat-range-bad-dots.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// ignore-test + pub fn main() { match 22i { 0 .. 3 => {} //~ ERROR expected `=>`, found `..`