• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0119]: conflicting implementations of trait `_::FooMustNotImplDrop` for type `Foo<_, _>`
2 --> tests/ui/pin_project/conflict-drop.rs:5:1
3  |
45 | #[pin_project] //~ ERROR E0119
5  | ^^^^^^^^^^^^^^
6  | |
7  | first implementation here
8  | conflicting implementation for `Foo<_, _>`
9  |
10  = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `Bar<_, _>`
13  --> tests/ui/pin_project/conflict-drop.rs:16:15
14   |
1516 | #[pin_project(PinnedDrop)] //~ ERROR E0119
16   |               ^^^^^^^^^^ conflicting implementation for `Bar<_, _>`
17...
1828 | impl<T, U> Drop for Bar<T, U> {
19   | ----------------------------- first implementation here
20