pub trait DummyAstNode {
    // Required method
    fn dummy() -> Self;
}
Expand description

Some value for the AST node that is valid but possibly meaningless. Similar to Default but not intended for wide use. The value will never be used meaningfully, it exists just to support unwinding in visit_clobber in the case where its closure panics.

Required Methods§

source

fn dummy() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> DummyAstNode for Option<T>

source§

fn dummy() -> Self

Implementors§