Mark ErrorGuaranteed
constructor as deprecated so people don't use it
This commit is contained in:
parent
82cd953c7c
commit
6077fdd219
6 changed files with 35 additions and 16 deletions
|
@ -192,6 +192,7 @@ impl EmissionGuarantee for ErrorGuaranteed {
|
|||
became non-error ({:?}), after original `.emit()`",
|
||||
db.inner.diagnostic.level,
|
||||
);
|
||||
#[allow(deprecated)]
|
||||
ErrorGuaranteed::unchecked_claim_error_was_emitted()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue