Debian Codegraph @

debian/rust-vendor/pin-project-lite/tests/ui/pin_project/conflict-drop.stderr

raw
1 error[E0119]: conflicting implementations of trait `MustNotImplDrop` for type `Foo<_, _>`
2 --> tests/ui/pin_project/conflict-drop.rs:5:1
3 |
4 5 | / pin_project! { //~ ERROR E0119
5 6 | | struct Foo<T, U> {
6 7 | | #[pin]
7 8 | | future: T,
8 ... |
9 11 | | }
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)