summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-99240.stderr
blob: f1bea688b4ed5be3aded1afb79d1cba2fd63fe4d (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 previous error

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