Debian Codegraph @

third_party/rust/pin-project/tests/ui/pin_project/conflict-drop.stderr

raw
1 error[E0119]: conflicting implementations of trait `FooMustNotImplDrop` for type `Foo<_, _>`
2 --> tests/ui/pin_project/conflict-drop.rs:5:1
3 |
4 5 | #[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
12 error[E0119]: conflicting implementations of trait `Drop` for type `Bar<_, _>`
13 --> tests/ui/pin_project/conflict-drop.rs:16:15
14 |
15 16 | #[pin_project(PinnedDrop)] //~ ERROR E0119
16 | ^^^^^^^^^^ conflicting implementation for `Bar<_, _>`
17 ...
18 28 | impl<T, U> Drop for Bar<T, U> {
19 | ----------------------------- first implementation here