Enum rustc_typeck::check::UnresolvedTypeAction [] [src]

pub enum UnresolvedTypeAction {
    Error,
    Ignore,
}
Unstable (rustc_private)

Whether autoderef requires types to resolve.

Variants

Error
Unstable (rustc_private)

Produce an error and return TyError whenever a type cannot be resolved (i.e. it is TyInfer).

Ignore
Unstable (rustc_private)

Go on without emitting any errors, and return the unresolved type. Useful for probing, e.g. in coercions.

Trait Implementations

Derived Implementations

impl Eq for UnresolvedTypeAction
[src]

impl PartialEq for UnresolvedTypeAction
[src]

fn eq(&self, __arg_0: &UnresolvedTypeAction) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for UnresolvedTypeAction
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for UnresolvedTypeAction
[src]

fn clone(&self) -> UnresolvedTypeAction

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for UnresolvedTypeAction
[src]