]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22789.stderr
Auto merge of #53304 - dtolnay:extend, r=dtolnay
[rust.git] / src / test / ui / issues / issue-22789.stderr
1 error: compilation successful
2   --> $DIR/issue-22789.rs:14:1
3    |
4 LL | / fn main() { //~ ERROR compilation successful
5 LL | |     let k = |x: i32| { x + 1 };
6 LL | |     Fn::call(&k, (0,));
7 LL | | }
8    | |_^
9
10 error: aborting due to previous error
11