Debian Codegraph @

third_party/rust/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 | | field: U,
9 10 | | }
10 11 | | }
11 | | ^
12 | | |
13 | |_first implementation here
14 | conflicting implementation for `Foo<_, _>`
15 |
16 = 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)