]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-80512-param-reordering-with-defaults.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-80512-param-reordering-with-defaults.stderr
CommitLineData
5869c6ff
XL
1error: lifetime parameters must be declared prior to type parameters
2 --> $DIR/issue-80512-param-reordering-with-defaults.rs:3:18
3 |
4LL | struct S<T = (), 'a>(&'a T);
a2a8927a 5 | ---------^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T = ()>`
5869c6ff
XL
6
7error: aborting due to previous error
8