aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/conflict-drop.stderr
blob: 4ae628da75daa29dc90aaf056b13c941e6afeef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0119]: conflicting implementations of trait `_::FooMustNotImplDrop` for type `Foo<_, _>`
 --> tests/ui/pin_project/conflict-drop.rs:5:1
  |
5 | #[pin_project] //~ ERROR E0119
  | ^^^^^^^^^^^^^^
  | |
  | first implementation here
  | conflicting implementation for `Foo<_, _>`
  |
  = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `Bar<_, _>`
  --> tests/ui/pin_project/conflict-drop.rs:16:15
   |
16 | #[pin_project(PinnedDrop)] //~ ERROR E0119
   |               ^^^^^^^^^^ conflicting implementation for `Bar<_, _>`
...
28 | impl<T, U> Drop for Bar<T, U> {
   | ----------------------------- first implementation here