blob: afeae9c78efb89d7f7aaf4a6e728b85bdc9630df [file] [log] [blame]
error: compilation successful
--> $DIR/issue-22789.rs:14:1
|
LL | / fn main() { //~ ERROR compilation successful
LL | | let k = |x: i32| { x + 1 };
LL | | Fn::call(&k, (0,));
LL | | }
| |_^
error: aborting due to previous error