]>
Commit | Line | Data |
---|---|---|
5869c6ff XL |
1 | error[E0119]: conflicting implementations of trait `_::MustNotImplDrop` for type `Foo<_, _>`: |
2 | --> $DIR/conflict-drop.rs:3:1 | |
3 | | | |
4 | 3 | / pin_project! { //~ ERROR E0119 | |
5 | 4 | | struct Foo<T, U> { | |
6 | 5 | | #[pin] | |
7 | 6 | | future: T, | |
8 | 7 | | field: U, | |
9 | 8 | | } | |
10 | 9 | | } | |
11 | | | ^ | |
12 | | | | | |
13 | | |_first implementation here | |
14 | | conflicting implementation for `Foo<_, _>` | |
15 | | | |
16 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) |