]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/no_inferrable_concrete_type.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / no_inferrable_concrete_type.rs
index 1197c7bc58ece3859519faa1ef1f8fcf80bdf8bf..fa578eced5f2b21bb31d9f06e1a2c4ae2f076bf8 100644 (file)
@@ -1,9 +1,9 @@
 // Issue 52985: user code provides no use case that allows a type alias `impl Trait`
-// We now emit a 'could not find defining uses' error
+// We now emit a 'unconstrained opaque type' error
 
 #![feature(type_alias_impl_trait)]
 
-type Foo = impl Copy; //~ could not find defining uses
+type Foo = impl Copy; //~ unconstrained opaque type
 
 // make compiler happy about using 'Foo'
 fn bar(x: Foo) -> Foo {