]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-assoc-lifetime-constraint.stderr
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / parser / recover-assoc-lifetime-constraint.stderr
1 error: associated lifetimes are not supported
2   --> $DIR/recover-assoc-lifetime-constraint.rs:3:11
3    |
4 LL |     bar::<Item = 'a>();
5    |           ^^^^^^^--
6    |                  |
7    |                  the lifetime is given here
8    |
9    = help: if you meant to specify a trait object, write `dyn Trait + 'lifetime`
10
11 error: aborting due to previous error
12