]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-19380.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / test / compile-fail / issue-19380.rs
index aae77c90b6bf2980e9820ae9fe0d9e363d3c59c1..322952ffef1e68aeca87fef0b0118e94adea117e 100644 (file)
@@ -19,10 +19,10 @@ fn qiz() {}
 
 struct Bar {
   foos: &'static [&'static (Qiz + 'static)]
+//~^ ERROR E0038
 }
 
 const FOO : Foo = Foo;
 const BAR : Bar = Bar { foos: &[&FOO]};
-//~^ ERROR E0038
 
 fn main() { }