diff options
Diffstat (limited to 'tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr')
-rw-r--r-- | tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr b/tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr new file mode 100644 index 000000000..99ec51783 --- /dev/null +++ b/tests/ui/unboxed-closures/unboxed-closures-static-call-wrong-trait.stderr @@ -0,0 +1,9 @@ +error[E0599]: no method named `call` found for closure `[closure@unboxed-closures-static-call-wrong-trait.rs:6:26]` 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 previous error + +For more information about this error, try `rustc --explain E0599`. |