• 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   |             ^^^^^^^^^^^^ ---- argument unexpected
6   |
7note: function defined here
8  --> tests/ui/pinned_drop/call-drop-inner.rs:3:1
9   |
103  | / pin_project! {
114  | |     pub struct S {
125  | |         #[pin]
136  | |         field: u8,
14...  |
1512 | |     }
1613 | | }
17   | |_^
18   = note: this error originates in the macro `$crate::__pin_project_make_drop_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
19help: remove the extra argument
20   |
2110 |             __drop_inner();
22   |             ~~~~~~~~~~~~~~
23