fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0593]: function is expected to take a single 0-tuple as argument, but it takes 2 distinct arguments 2 --> $DIR/issue-47706-trait.rs:3:24 3 | 4LL | fn f(&self, _: ()) { 5 | ------------------ takes 2 distinct arguments 6LL | None::<()>.map(Self::f); 7 | ^^^^^^^ expected function that takes a single 0-tuple as argument 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0593`.