summary refs log tree commit diff
path: root/src/test/ui/issue-22789.stderr
blob: afeae9c78efb89d7f7aaf4a6e728b85bdc9630df (plain)
1
2
3
4
5
6
7
8
9
10
11
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