mirror of https://github.com/rust-lang/rust
13 lines
466 B
Plaintext
13 lines
466 B
Plaintext
error[E0792]: expected generic lifetime parameter, found `'_`
|
|
--> $DIR/generic-not-strictly-equal.rs:33:5
|
|
|
|
|
LL | type Opaque<'a> = impl Copy + Captures<'a>;
|
|
| -- this generic parameter must be used with a generic lifetime parameter
|
|
...
|
|
LL | relate(opaque, hidden); // defining use: Opaque<'?1> := u8
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0792`.
|