about summary refs log tree commit diff
path: root/src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs')
-rw-r--r--src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs b/src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs
index 3115e5a9a43..ff1b74fa020 100644
--- a/src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs
+++ b/src/test/ui/regions/region-bound-same-bounds-in-trait-and-impl.rs
@@ -11,7 +11,7 @@
 // Test related to #22779, but where the `'a:'b` relation
 // appears in the trait too. No error here.
 
-#![feature(rustc_attrs)]
+// compile-pass
 
 trait Tr<'a, T> {
     fn renew<'b: 'a>(self) -> &'b mut [T] where 'a: 'b;
@@ -23,5 +23,5 @@ impl<'a, T> Tr<'a, T> for &'a mut [T] {
     }
 }
 
-#[rustc_error]
-fn main() { } //~ ERROR compilation successful
+
+fn main() { }