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