]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/bound_reduction2.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / bound_reduction2.stderr
CommitLineData
1b1a35ee 1error: non-defining opaque type use in defining scope
5e7ed085 2 --> $DIR/bound_reduction2.rs:16:5
60c5eb7d 3 |
5e7ed085
FG
4LL | ()
5 | ^^
74b04a01 6 |
1b1a35ee 7note: used non-generic type `<T as TraitWithAssoc>::Assoc` for generic parameter
94222f64 8 --> $DIR/bound_reduction2.rs:9:10
74b04a01 9 |
1b1a35ee
XL
10LL | type Foo<V> = impl Trait<V>;
11 | ^
60c5eb7d 12
5e7ed085 13error: aborting due to previous error
8faf50e0 14