Enum rustc::ty::util::CopyImplementationError[][src]

pub enum CopyImplementationError<'tcx> {
    InfrigingField(&'tcx FieldDef),
    NotAnAdt,
    HasDestructor,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Trait Implementations

impl<'tcx> Copy for CopyImplementationError<'tcx>
[src]

impl<'tcx> Clone for CopyImplementationError<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'tcx> !Send for CopyImplementationError<'tcx>

impl<'tcx> !Sync for CopyImplementationError<'tcx>