Recovered in rustc_ast::ast - Rust (original) (raw)

pub enum Recovered {
    No,
    Yes(ErrorGuaranteed),
}

Expand description

Was parsing recovery performed?

Variants§

§

No

§

Yes(ErrorGuaranteed)

Trait Implementations§

Source§

impl Clone for Recovered

Source§

impl Debug for Recovered

Source§

impl<__D: SpanDecoder> Decodable<__D> for Recovered

Source§

fn decode(__decoder: &mut __D) -> Self

Source§

impl<__E: SpanEncoder> Encodable<__E> for Recovered

Source§

fn encode(&self, __encoder: &mut __E)

Source§

impl<__CTX> HashStable<__CTX> for Recovered

Source§

fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)

Source§

impl<V: MutVisitor> MutVisitable for Recovered

Source§

type Extra = ()

Source§

fn visit_mut(&mut self, visitor: &mut V, _extra: Self::Extra) -> V::Result

Source§

impl<__V> MutWalkable<__V> for Recovered

Source§

fn walk_mut(&mut self, __visitor: &mut __V)

Source§

impl<'a, V: Visitor<'a>> Visitable<'a, V> for Recovered

Source§

type Extra = ()

Source§

fn visit(&'a self, visitor: &mut V, _extra: Self::Extra) -> V::Result

Source§

impl<'__ast, __V> Walkable<'__ast, __V> for Recovered

Source§

fn walk_ref(&'__ast self, __visitor: &mut __V) -> __V::Result

Source§

impl Copy for Recovered

Auto Trait Implementations§

§

impl DynSend for Recovered

§

impl DynSync for Recovered

§

impl Freeze for Recovered

§

impl RefUnwindSafe for Recovered

§

impl Send for Recovered

§

impl Sync for Recovered

§

impl Unpin for Recovered

§

impl UnwindSafe for Recovered

Blanket Implementations§

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 1 byte

Size for each variant: