Debian Codegraph @

third_party/rust/pin-project-lite/tests/ui/pinned_drop/call-drop-inner.stderr

raw
1 error[E0061]: this function takes 0 arguments but 1 argument was supplied
2 --> tests/ui/pinned_drop/call-drop-inner.rs:12:13
3 |
4 12 | __drop_inner(this);
5 | ^^^^^^^^^^^^ ----
6 | |
7 | unexpected argument of type `Pin<&mut S>`
8 | help: remove the extra argument
9 |
10 note: function defined here
11 --> tests/ui/pinned_drop/call-drop-inner.rs:5:1
12 |
13 5 | / pin_project! {
14 6 | | pub struct S {
15 7 | | #[pin]
16 8 | | field: u8,
17 ... |
18 14 | | }
19 15 | | }
20 | |_^
21 = 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)