]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/declared_but_never_defined.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / declared_but_never_defined.stderr
index 21c2e8a9db618ceffe81427738ab2ddc426244b6..60bc24320a301c25bf90ce300ee2a1813351d4b4 100644 (file)
@@ -1,8 +1,10 @@
-error: could not find defining uses
+error: unconstrained opaque type
   --> $DIR/declared_but_never_defined.rs:6:12
    |
 LL | type Bar = impl std::fmt::Debug;
    |            ^^^^^^^^^^^^^^^^^^^^
+   |
+   = note: `Bar` must be used in combination with a concrete type within the same module
 
 error: aborting due to previous error