Module error_reporting

Source
Expand description

Types used to report parsing errors.

Structs§

PerCompoundState 🔒
Per-compound state for finding unconstrained relative selectors.
RustLogReporter
An error reporter that uses the log crate at info level.
UnconstrainedRelativeSelectorVisitor 🔒
Visitor to check if there’s any unconstrained relative selector.

Enums§

ContextualParseError
Errors that can be encountered while parsing CSS.
SelectorWarningKind
Any warning a selector may generate. TODO(dshin): Bug 1860634 - Merge with never matching host selector warning, which is part of the rule parser.

Traits§

ParseErrorReporter
A generic trait for an error reporter.