Closed
Description
Currently, if we fail to parse a //~
line or an annotation like // ignore-target
, we just go on. That's a pretty bad default for infrastructure that is meant to test our code! For both of these I think we should hard error if we cannot parse the line.
For //~
that is fairly easy; if any comment starting //~
eludes us we can just error.
For the other annotations it is a lot harder since that might just be a regular comment. I think we need to change their syntax so that we can tell that this line is meant to be special. //@
might work? We should ideally sync this with compiletest, in case they have similar plans.