Skip to main content

Module diagnostics

Module diagnostics 

Source

Structsยง

SnapshotParser
SnapshotParser is used to create a snapshot of the parser without causing duplicate errors being emitted when the Parser is dropped.

Enumsยง

AttemptLocalParseRecovery
ConsumeClosingDelim ๐Ÿ”’
Control whether the closing delimiter should be consumed when calling Parser::consume_block.

Traitsยง

RecoverQPath ๐Ÿ”’

Functionsยง

dummy_arg ๐Ÿ”’
Creates a placeholder argument.
find_similar_kw ๐Ÿ”’
Checks if the given lookup identifier is similar to any keyword symbol in candidates.