• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0119]: conflicting implementations of trait `MustNotImplDrop` for type `Foo<_, _>`
2  --> tests/ui/pin_project/conflict-drop.rs:5:1
3   |
45  | / pin_project! { //~ ERROR E0119
56  | |     struct Foo<T, U> {
67  | |         #[pin]
78  | |         future: T,
8...  |
911 | | }
10   | | ^
11   | | |
12   | |_first implementation here
13   |   conflicting implementation for `Foo<_, _>`
14   |
15   = note: this error originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
16