This checks if a) the `fn main() {}` function is empty or if the doctest contains a `static`. In both cases don't lint.