• 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:15:9
3   |
415 |         __drop_inner(__self);
5   |         ^^^^^^^^^^^^ ------ unexpected argument of type `Pin<&mut Struct>`
6   |
7note: function defined here
8  --> tests/ui/pinned_drop/call-drop-inner.rs:12:1
9   |
1012 | #[pinned_drop]
11   | ^^^^^^^^^^^^^^
12   = note: this error originates in the attribute macro `pinned_drop` (in Nightly builds, run with -Z macro-backtrace for more info)
13help: remove the extra argument
14   |
1515 -         __drop_inner(__self);
1615 +         __drop_inner();
17   |
18