Currently, --dump-input implies that all --implicit-check-not
patterns appear on line 1 by printing annotations like:
1: foo bar baz not:1 !~~ error: no match expected
This patch changes that to:
1: foo bar baz not:imp1 !~~ error: no match expected
imp1 indicates the first --implicit-check-not pattern.
Is this going to be stable if a new option that require a buffer gets added? I know the tests would catch this if that's the case but I'd prefer to not have to update this formula.
I'm also confused at the comment. Does it match the formula? All I see in the formula is that the implicit buffer ID is the check file buffer minus one. Does the comment need updating? Actually repeating the formula does not seem useful, I'd rather have an explanation as to why the implicit buffer ID can be obtained with this formula.