]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-23305.rs
Make name resolution errors non-fatal
[rust.git] / src / test / compile-fail / issue-23305.rs
index 4b1010781ff3be251241fcf0be444c4ac7be3e99..68f053c357bed341e4f2742b046f5288b3888ad0 100644 (file)
@@ -13,5 +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
 
 fn main() {}