• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0061]: this function takes 0 arguments but 1 argument was supplied
2  --> tests/ui/pinned_drop/call-drop-inner.rs:10:13
3   |
410 |             __drop_inner(this);
5   |             ^^^^^^^^^^^^ ----
6   |                          |
7   |                          unexpected argument of type `Pin<&mut S>`
8   |                          help: remove the extra argument
9   |
10note: function defined here
11  --> tests/ui/pinned_drop/call-drop-inner.rs:3:1
12   |
133  | / pin_project! {
144  | |     pub struct S {
155  | |         #[pin]
166  | |         field: u8,
17...  |
1812 | |     }
1913 | | }
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)
22