You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
492 B

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