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