about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/hrdt.stderr
blob: 497bd613bf454d33c2a3111445d4039a4bc65655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found keyword `for`
  --> $DIR/hrdt.rs:7:11
   |
LL |     Where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8,
   |           ^^^ expected one of 7 possible tokens
   |
help: write keyword `where` in lowercase (notice the capitalization)
   |
LL -     Where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8,
LL +     where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8,
   |

error: aborting due to 1 previous error