Crate cairo_lang_diagnostics

source
Expand description

Diagnostics hold error information from around the compiler, associated with a location to the source files.

Macros§

Structs§

Enums§

Traits§

  • A trait for diagnostics (i.e., errors and warnings) across the compiler. Meant to be implemented by each module that may produce diagnostics.
  • Utilities for Option<ErrorCode>.
  • Temporary trait to allow conversions from the old Option<T> mechanism to Maybe<T>.
  • Temporary trait to allow conversions from Maybe<T> to Option<T>.

Functions§

Type Aliases§

  • Represents an arbitrary type T or a missing output due to an error whose diagnostic was properly reported.