fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
525 B11 linesraw
1error[E0599]: no method named `call` found for closure `[closure@$DIR/unboxed-closures-static-call-wrong-trait.rs:6:26: 6:31]` in the current scope
2  --> $DIR/unboxed-closures-static-call-wrong-trait.rs:7:10
3   |
4LL |     mut_.call((0, ));
5   |          ^^^^ method not found in `[closure@$DIR/unboxed-closures-static-call-wrong-trait.rs:6:26: 6:31]`
6   |
7   = note: `mut_` is a function, perhaps you wish to call it
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0599`.