about summary refs log tree commit diff
path: root/tests/ui/parser/lifetime-semicolon.stderr
blob: f0e42c36c5a6a2a4ccd7eb4bc42ab76e4a6ccaae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>) {}
LL + fn foo<'a, 'b>(_x: &mut Foo<'a, 'b>) {}
   |

error: aborting due to 1 previous error