rust/tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

10 lines
450 B
Plaintext

error[E0599]: no method named `call` found for closure `{closure@$DIR/unboxed-closures-static-call-wrong-trait.rs:6:26: 6:29}` in the current scope
--> $DIR/unboxed-closures-static-call-wrong-trait.rs:7:10
|
LL | mut_.call((0, ));
| ^^^^ method not found in `{closure@unboxed-closures-static-call-wrong-trait.rs:6:26}`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.