Test fixes from the rollup

This commit is contained in:
Alex Crichton 2014-09-29 08:57:48 -07:00
parent 1ae44c2059
commit d3e171861f
3 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,6 @@
fn main() {
unsafe {
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction mnemonic
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction
}
}

View File

@ -17,7 +17,7 @@ struct Foo<T>{
type FooInt = Foo<int>;
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){}
}

View File

@ -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 `..`