The same file says that the illegal callback will only triger for violations explicitly mentioned, which is not true without this commit because we often don’t mention that an argument is not allowed to be NULL.
This line is extracted from #783 in the hope that it gets merged faster because other PRs depend on it.