]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/issue-80512-param-reordering-with-defaults.stderr
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / generics / issue-80512-param-reordering-with-defaults.stderr
1 error: lifetime parameters must be declared prior to type and const 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