summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-assoc-lifetime-constraint.stderr
blob: 79437533d7c0b497415f9281d18be2fa89a94401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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