]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/inline-trait-and-foreign-items.rs
Make the error for opaque types that have no hidden types a bit informative
[rust.git] / src / test / ui / lint / inline-trait-and-foreign-items.rs
index 6321b3c76e4d18a8bbedcf9e087aa0e17f24807e..13dab7ed954f85b5ec7a13da761a91ab95f42c84 100644 (file)
@@ -23,7 +23,7 @@ impl Trait for () {
     type T = Self;
 
     #[inline] //~ ERROR attribute should be applied to function or closure
-    type U = impl Trait; //~ ERROR could not find defining uses
+    type U = impl Trait; //~ ERROR unconstrained opaque type
 }
 
 extern "C" {