fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0618]: expected function, found `i32` 2 --> $DIR/issue-10969.rs:2:5 3 | 4LL | fn func(i: i32) { 5 | - `i32` defined here 6LL | i(); 7 | ^-- 8 | | 9 | call expression requires function 10 11error[E0618]: expected function, found `i32` 12 --> $DIR/issue-10969.rs:6:5 13 | 14LL | let i = 0i32; 15 | - `i32` defined here 16LL | i(); 17 | ^-- 18 | | 19 | call expression requires function 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0618`.