Trait SyntaxError

Source
pub trait SyntaxError
where Self: Debug + Clone + PartialEq + Eq,
{ }
Expand description

A marker trait… for now!

Marks a type as, well, an error type.

TODO: constrain that conversion to NodeKind::Error is enforced to be possible

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§