]>
Commit | Line | Data |
---|---|---|
04454e1e FG |
1 | error: cannot implement trait on type alias impl trait |
2 | --> $DIR/coherence.rs:14:41 | |
e74abb32 XL |
3 | | |
4 | LL | impl<T> foreign_crate::ForeignTrait for AliasOfForeignType<T> {} | |
04454e1e FG |
5 | | ^^^^^^^^^^^^^^^^^^^^^ |
6 | | | |
7 | note: type alias impl trait defined here | |
8 | --> $DIR/coherence.rs:9:30 | |
9 | | | |
10 | LL | type AliasOfForeignType<T> = impl LocalTrait; | |
11 | | ^^^^^^^^^^^^^^^ | |
e74abb32 XL |
12 | |
13 | error: aborting due to previous error | |
14 |