mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
13 lines
357 B
Plaintext
13 lines
357 B
Plaintext
error: associated lifetimes are not supported
|
|
--> $DIR/recover-assoc-lifetime-constraint.rs:3:11
|
|
|
|
|
LL | bar::<Item = 'a>();
|
|
| ^^^^^^^--
|
|
| |
|
|
| the lifetime is given here
|
|
|
|
|
= help: if you meant to specify a trait object, write `dyn Trait + 'lifetime`
|
|
|
|
error: aborting due to previous error
|
|
|