]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-80512-param-reordering-with-defaults.stderr
1 error: lifetime parameters must be declared prior to type parameters
2   --> $DIR/issue-80512-param-reordering-with-defaults.rs:3:18
3    |
4 LL | struct S<T = (), 'a>(&'a T);
5    |         ---------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T = ()>`
6
7 error: aborting due to previous error
8