]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/declared_but_not_defined_in_scope.rs
Make the error for opaque types that have no hidden types a bit informative
[rust.git] / src / test / ui / type-alias-impl-trait / declared_but_not_defined_in_scope.rs
index 7ea517eb734a459701bfd6d1887416af6f228559..5bda5f0fceaaa6dba9dd7e78fa2e554ee3d2ebb2 100644 (file)
@@ -4,7 +4,7 @@ fn main() {}
 
 mod boo {
     // declared in module but not defined inside of it
-    pub type Boo = impl ::std::fmt::Debug; //~ ERROR could not find defining uses
+    pub type Boo = impl ::std::fmt::Debug; //~ ERROR unconstrained opaque type
 }
 
 fn bomp() -> boo::Boo {