Rename unchecked_claim_error_was_emitted
as unchecked_error_guaranteed
.
It's more to-the-point.
This commit is contained in:
parent
97c157fe1e
commit
6889fe3806
2 changed files with 6 additions and 6 deletions
|
@ -2479,7 +2479,7 @@ pub struct ErrorGuaranteed(());
|
|||
impl ErrorGuaranteed {
|
||||
/// Don't use this outside of `DiagCtxtInner::emit_diagnostic`!
|
||||
#[deprecated = "should only be used in `DiagCtxtInner::emit_diagnostic`"]
|
||||
pub fn unchecked_claim_error_was_emitted() -> Self {
|
||||
pub fn unchecked_error_guaranteed() -> Self {
|
||||
ErrorGuaranteed(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue