fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0057]: this function takes 0 arguments but 1 argument was supplied 2 --> $DIR/issue-16939.rs:5:9 3 | 4LL | |t| f(t); 5 | ^ - 6 | | 7 | unexpected argument 8 | help: remove the extra argument 9 | 10note: callable defined here 11 --> $DIR/issue-16939.rs:4:12 12 | 13LL | fn _foo<F: Fn()> (f: F) { 14 | ^^^^ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0057`.