]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/wf-trait-associated-type-region.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / test / compile-fail / wf-trait-associated-type-region.rs
index b3aa4e19c96560a4cb5c830b8a2da609acf1522f..95d9ffdf9d35958782c0ab8ad105aa2dfc6f5021 100644 (file)
@@ -17,8 +17,8 @@
 trait SomeTrait<'a> {
     type Type1;
     type Type2 = &'a Self::Type1;
-    //~^ WARN E0309
+    //~^ ERROR E0309
 }
 
 #[rustc_error]
-fn main() { } //~ ERROR compilation successful
+fn main() { }