Module diagnostics

Source

Structs§

IncDecRecovery 🔒
Information for emitting suggestions and recovering from C-style i++, --i, etc.
MisspelledKw 🔒
MultiSugg 🔒
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.
IncOrDec 🔒
IsStandalone 🔒
Is an increment or decrement expression its own statement?
UnaryFixity 🔒

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.