diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 15:48:39 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-11-07 15:51:30 -0500 |
| commit | 3112771001e0e7e9b068ba0bb0ca45c3e8f0f72a (patch) | |
| tree | a56161d364e7ac9094e4fea2a843d790d9c42655 | |
| parent | 244231720d29db856c5a28c0dda6c2efd7c9219a (diff) | |
Update tests where we don't report errors twice anymore
| -rw-r--r-- | src/test/compile-fail/regions-name-duplicated.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/regions-name-static.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/test/compile-fail/regions-name-duplicated.rs b/src/test/compile-fail/regions-name-duplicated.rs index 58eaa4c57fe..518fe0b00b6 100644 --- a/src/test/compile-fail/regions-name-duplicated.rs +++ b/src/test/compile-fail/regions-name-duplicated.rs @@ -9,7 +9,6 @@ // except according to those terms. struct Foo<'a, 'a> { //~ ERROR lifetime name `'a` declared twice -//~^ ERROR lifetime name `'a` declared twice x: &'a int } diff --git a/src/test/compile-fail/regions-name-static.rs b/src/test/compile-fail/regions-name-static.rs index bc8ca87d7e2..9f50ad36660 100644 --- a/src/test/compile-fail/regions-name-static.rs +++ b/src/test/compile-fail/regions-name-static.rs @@ -9,7 +9,6 @@ // except according to those terms. struct Foo<'static> { //~ ERROR illegal lifetime parameter name: `'static` -//~^ ERROR illegal lifetime parameter name: `'static` x: &'static int } |
