Struct rustc_mir_build::thir::pattern::const_to_pat::FallbackToOpaqueConst
source · struct FallbackToOpaqueConst;
Expand description
This error type signals that we encountered a non-struct-eq situation.
We will fall back to calling PartialEq::eq
on such patterns,
and exhaustiveness checking will consider them as matching nothing.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FallbackToOpaqueConst
impl Send for FallbackToOpaqueConst
impl Sync for FallbackToOpaqueConst
impl Unpin for FallbackToOpaqueConst
impl UnwindSafe for FallbackToOpaqueConst
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 0 bytes