• 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:12:13
3   |
412 |             __drop_inner(this);
5   |             ^^^^^^^^^^^^ ---- unexpected argument of type `Pin<&mut S>`
6   |
7note: function defined here
8  --> tests/ui/pinned_drop/call-drop-inner.rs:5:1
9   |
105  | / pin_project! {
116  | |     pub struct S {
127  | |         #[pin]
138  | |         field: u8,
14...  |
1515 | | }
16   | |_^
17   = 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)
18help: remove the extra argument
19   |
2012 -             __drop_inner(this);
2112 +             __drop_inner();
22   |
23