]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-99240.rs
Auto merge of #106827 - alexcrichton:update-llvm-to-15.0.7, r=cuviper
[rust.git] / tests / ui / suggestions / issue-99240.rs
1 fn fmt(it: &(std::cell::Cell<Option<impl FnOnce()>>,)) {
2     (it.0.take())()
3     //~^ ERROR expected function
4 }
5
6 fn main() {}