]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-14853.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / test / compile-fail / issue-14853.rs
index 51deb99a4f2cda7747feae6e2df16f83c0f80e9e..c6c1a0fd17781ab1209e1a4923073f294e043ba9 100644 (file)
@@ -12,7 +12,7 @@
 
 trait Str {}
 
-trait Something {
+trait Something: Sized {
     fn yay<T: Debug>(_: Option<Self>, thing: &[T]);
 }