dprint prints the errors that it encounters in the output channel of the IDE. However, it doesn't create diagnostics. It would be great if it does. Instead of this, we can have a proper diagnostic 