Add missing `DiagnosticBuilder::eager_diagnostic` method.
This lets us avoid the use of `DiagnosticBuilder::into_diagnostic` in miri, when then means that `DiagnosticBuilder::into_diagnostic` can become private, being now only used by `stash` and `buffer`.
N
Nicholas Nethercote committed
700a3965202f4f403956fcce744ce5ba6adf2ddb
Parent: ed76b0b