rust/src/test/ui/parser/lifetime-semicolon.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
397 B
Plaintext
Raw Normal View History

2020-11-21 08:44:06 -06:00
error: expected one of `,`, `:`, `=`, or `>`, found `;`
--> $DIR/lifetime-semicolon.rs:7:31
2018-10-20 15:36:17 -05:00
|
LL | fn foo<'a, 'b>(_x: &mut Foo<'a; 'b>) {}
| ^ expected one of `,`, `:`, `=`, or `>`
|
help: use a comma to separate type parameters
|
LL | fn foo<'a, 'b>(_x: &mut Foo<'a, 'b>) {}
| ~
2018-10-20 15:36:17 -05:00
error: aborting due to previous error