Skip to content

Commit 3112771

Browse files
committed
Update tests where we don't report errors twice anymore
1 parent 2442317 commit 3112771

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/test/compile-fail/regions-name-duplicated.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
struct Foo<'a, 'a> { //~ ERROR lifetime name `'a` declared twice
12-
//~^ ERROR lifetime name `'a` declared twice
1312
x: &'a int
1413
}
1514

src/test/compile-fail/regions-name-static.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// except according to those terms.
1010

1111
struct Foo<'static> { //~ ERROR illegal lifetime parameter name: `'static`
12-
//~^ ERROR illegal lifetime parameter name: `'static`
1312
x: &'static int
1413
}
1514

0 commit comments

Comments
 (0)