]> git.proxmox.com Git - rustc.git/blame - src/test/ui/type-alias-impl-trait/coherence.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / coherence.stderr
CommitLineData
04454e1e
FG
1error: cannot implement trait on type alias impl trait
2 --> $DIR/coherence.rs:14:41
e74abb32
XL
3 |
4LL | impl<T> foreign_crate::ForeignTrait for AliasOfForeignType<T> {}
04454e1e
FG
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7note: type alias impl trait defined here
8 --> $DIR/coherence.rs:9:30
9 |
10LL | type AliasOfForeignType<T> = impl LocalTrait;
11 | ^^^^^^^^^^^^^^^
e74abb32
XL
12
13error: aborting due to previous error
14