Skip to main content

remove_error_stub

Function remove_error_stub 

Source
pub fn remove_error_stub(token: &Token)
Expand description

Undo generate_error_stub: token (and a stubbed \ifX’s \Xtrue/\Xfalse) is undefined again. A discarded crate::util::logger::DiagnosticsHold takes back its scope’s errors and the stubs standing in for them, so the document’s own later use of the command reports it.