Reports the use of `self` in contexts where it is not available.