Make Emitter::emit_diagnostic consuming.
#120575
Merged
Emitter::emit_diagnostic consuming.
#120575