rust/tests/ui/parser/lifetime-semicolon.stderr

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

14 lines
377 B
Plaintext
Raw Normal View History

error: expected one of `,` or `>`, found `;`
--> $DIR/lifetime-semicolon.rs:7:31
2018-10-20 20:36:17 +00: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 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00