mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
12 lines
357 B
Text
12 lines
357 B
Text
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
|
|
|