rust/tests/ui/parser/misspelled-keywords/hrdt.stderr

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

14 lines
425 B
Plaintext
Raw Normal View History

2024-09-01 21:27:43 -05:00
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 difference)
|
LL | where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8,
| ~~~~~
2024-09-01 21:27:43 -05:00
error: aborting due to 1 previous error