]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr
2e1845888a2f76d893cb8c66dc052f0980a170d9
[rust.git] / src / test / ui / unboxed-closures / unboxed-closures-static-call-wrong-trait.stderr
1 error[E0599]: no method named `call` found for type `[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    |
4 LL |     mut_.call((0, ));
5    |          ^^^^
6    |
7    = note: mut_ is a function, perhaps you wish to call it
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0599`.