Testing diagnostics snippets


#1

I’m working on this pr changing the --explain message for an error. Is there any x.py test argument I can use to only check if the snippets compile? One of the snippets has this annotation that suggests that it’s possible somehow: compile_fail,E0382. Is there any documentation/process I can use to find the answers to such questions myself?