summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/lifetime-semicolon.stderr
blob: ee486c2366c9537d412e85921a69e198ea280132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected one of `,` or `>`, found `;`
  --> $DIR/lifetime-semicolon.rs:7:31
   |
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>) {}
   |                               ~

error: aborting due to previous error