summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/lifetime-semicolon.stderr
blob: 4f8e2835e085b5eb7dc2d453d214f7d3ef175aa3 (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 1 previous error