rust/src/test/ui/unboxed-closures/unboxed-closure-sugar-region.stderr

10 lines
389 B
Plaintext

error[E0107]: wrong number of lifetime arguments: expected 1, found 0
--> $DIR/unboxed-closure-sugar-region.rs:30:51
|
LL | fn test2(x: &dyn Foo<(isize,),Output=()>, y: &dyn Foo(isize)) {
| ^^^ expected 1 lifetime argument
error: aborting due to previous error
For more information about this error, try `rustc --explain E0107`.