]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/wf-struct-bound.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / test / compile-fail / wf-struct-bound.rs
index 43378061e40c0bc5e04f48e8c458847cfdc67692..e263b251aa379eb58bf5f12a21ebd7a1d47bf20b 100644 (file)
 
 trait ExtraCopy<T:Copy> { }
 
-struct SomeStruct<T,U> //~ WARN E0277
+struct SomeStruct<T,U> //~ ERROR E0277
     where T: ExtraCopy<U>
 {
     data: (T,U)
 }
 
 #[rustc_error]
-fn main() { } //~ ERROR compilation successful
+fn main() { }