fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0061]: this function takes 2 parameters but 1 parameter was supplied 2 --> $DIR/E0061.rs:6:5 3 | 4LL | fn f(a: u16, b: &str) {} 5 | --------------------- defined here 6... 7LL | f(0); 8 | ^^^^ expected 2 parameters 9 10error[E0061]: this function takes 1 parameter but 0 parameters were supplied 11 --> $DIR/E0061.rs:10:5 12 | 13LL | fn f2(a: u16) {} 14 | ------------- defined here 15... 16LL | f2(); 17 | ^^^^ expected 1 parameter 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0061`.