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