aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pinned_drop/call-drop-inner.stderr
blob: 576e417fd17cb876fe6c7327305bf2f04cc7a58b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0061]: this function takes 0 arguments but 1 argument was supplied
  --> $DIR/call-drop-inner.rs:10:13
   |
10 |             __drop_inner(this);
   |             ^^^^^^^^^^^^ ---- supplied 1 argument
   |             |
   |             expected 0 arguments
   |
note: function defined here
  --> $DIR/call-drop-inner.rs:3:1
   |
3  | / pin_project! {
4  | |     pub struct S {
5  | |         #[pin]
6  | |         field: u8,
...  |
12 | |     }
13 | | }
   | |_^
   = note: this error originates in the macro `$crate::__pin_project_internal` (in Nightly builds, run with -Z macro-backtrace for more info)