fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0107]: wrong number of lifetime arguments: expected 1, found 2 2 --> $DIR/generic-arg-mismatch-recover.rs:6:20 3 | 4LL | Foo::<'static, 'static, ()>(&0); 5 | ^^^^^^^ unexpected lifetime argument 6 7error[E0107]: wrong number of lifetime arguments: expected 1, found 2 8 --> $DIR/generic-arg-mismatch-recover.rs:8:20 9 | 10LL | Bar::<'static, 'static, ()>(&()); 11 | ^^^^^^^ unexpected lifetime argument 12 13error[E0107]: wrong number of type arguments: expected 0, found 1 14 --> $DIR/generic-arg-mismatch-recover.rs:8:29 15 | 16LL | Bar::<'static, 'static, ()>(&()); 17 | ^^ unexpected type argument 18 19error: aborting due to 3 previous errors 20 21For more information about this error, try `rustc --explain E0107`.