]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-23305.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / test / compile-fail / issue-23305.rs
index 68f053c357bed341e4f2742b046f5288b3888ad0..4acb1f70d343c459825c7a6422755d9623b3aac4 100644 (file)
@@ -13,6 +13,6 @@ pub trait ToNbt<T> {
 }
 
 impl ToNbt<Self> {} //~ ERROR use of `Self` outside of an impl or trait
-//~^ WARNING the trait `ToNbt` cannot be made into an object
+//~^ ERROR the trait `ToNbt` cannot be made into an object
 
 fn main() {}