]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-99240.stderr
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / suggestions / issue-99240.stderr
1 error[E0618]: expected function, found `Option<impl FnOnce()>`
2   --> $DIR/issue-99240.rs:2:5
3    |
4 LL |     (it.0.take())()
5    |     ^^^^^^^^^^^^^--
6    |     |
7    |     call expression requires function
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0618`.