]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lifetime-semicolon.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / parser / lifetime-semicolon.stderr
1 error: expected one of `,`, `:`, `=`, or `>`, found `;`
2   --> $DIR/lifetime-semicolon.rs:7:31
3    |
4 LL | fn foo<'a, 'b>(_x: &mut Foo<'a; 'b>) {}
5    |                               ^ expected one of `,`, `:`, `=`, or `>`
6    |
7 help: use a comma to separate type parameters
8    |
9 LL | fn foo<'a, 'b>(_x: &mut Foo<'a, 'b>) {}
10    |                               ~
11
12 error: aborting due to previous error
13