summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-99240.stderr
blob: ea819067a23a2b7a31f29791b25e78986366b8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0618]: expected function, found `Option<impl FnOnce()>`
  --> $DIR/issue-99240.rs:2:5
   |
LL |     (it.0.take())()
   |     ^^^^^^^^^^^^^--
   |     |
   |     call expression requires function

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0618`.