]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/type-alias-impl-trait/unnameable_type.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / type-alias-impl-trait / unnameable_type.stderr
index 7dc6efc4b1b6b97c3c39de64a5f94992ea13bdac..e9032433494a6cef42830086b579ebc1e760560e 100644 (file)
@@ -15,7 +15,7 @@ LL | type MyPrivate = impl Sized;
 LL |     fn dont_define_this(_private: MyPrivate) {}
    |                                   ^^^^^^^^^
    |                                   |
-   |                                   expected struct `Private`, found opaque type
+   |                                   expected `Private`, found opaque type
    |                                   help: change the parameter type to match the trait: `Private`
    |
 note: type in trait