prusti-dev
prusti-dev copied to clipboard
Better error when expecting a type
https://github.com/viperproject/prusti-dev/blob/977556fd19d9e662d69a62e6862812979d090c6d/prusti-tests/tests/parse/ui/simple_forall.stderr#L1-L5
I think after a colon in this position we can only have a type, so some of the things listed in the error might not apply.
Pushing this off to syn: https://github.com/dtolnay/syn/issues/1153