No need to involve a compilation unit, AFAICS:

```scala
reporter.error(sym.pos, "kaboom!")
```