]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/issue-88595.rs
Make the error for opaque types that have no hidden types a bit informative
[rust.git] / src / test / ui / generic-associated-types / issue-88595.rs
index e397390783f66857560e8be8ad68f9dda875d229..c6cde3aa065e77073767a194c9132c59aaf9c4a2 100644 (file)
@@ -18,7 +18,7 @@ trait A<'a> {
 impl<'a> A<'a> for C {
     type B<'b> = impl Clone;
     //~^ ERROR: lifetime bound not satisfied
-    //~| ERROR: could not find defining uses
+    //~| ERROR: unconstrained opaque type
 
     fn a(&'a self) -> Self::B<'a> {} //~ ERROR: non-defining opaque type use in defining scope
 }