FatalError in rustc_errors - Rust (original) (raw)

pub struct FatalError;

Expand description

Used as a return value to signify a fatal error occurred.

Source§

Source§

Source§

Source§

Source§

Implementation of Diag::emit, fully controlled by each impl ofEmissionGuarantee, to make it impossible to create a value ofSelf::EmitResult without actually performing the emission.

Source§

This exists so that bugs and fatal errors can both result in ! (an abort) when emitted, but have different aborting behaviour.

Source§

1.30.0 · Source§

Returns the lower-level source of this error, if any. Read more

1.0.0 · Source§

👎Deprecated since 1.42.0: use the Display impl or to_string()

1.0.0 · Source§

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting

Source§

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

Provides type-based access to context intended for error reports. Read more

Source§

Source§

§

§

§

§

§

§

§

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