Skip to content

Commit d3e1718

Browse files
committed
Test fixes from the rollup
1 parent 1ae44c2 commit d3e1718

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/test/compile-fail/asm-src-loc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
fn main() {
1414
unsafe {
15-
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction mnemonic
15+
asm!("nowayisthisavalidinstruction"); //~ ERROR invalid instruction
1616
}
1717
}

src/test/compile-fail/issue-16465.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct Foo<T>{
1717
type FooInt = Foo<int>;
1818

1919
impl Drop for FooInt {
20-
//~^ ERROR cannot implement a destructor on a structure with type parameters
20+
//~^ ERROR cannot implement a destructor on a structure with type parameters
2121
fn drop(&mut self){}
2222
}
2323

src/test/compile-fail/pat-range-bad-dots.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-test
12+
1113
pub fn main() {
1214
match 22i {
1315
0 .. 3 => {} //~ ERROR expected `=>`, found `..`

0 commit comments

Comments
 (0)