#error-message #chandeliers #analyzer #rustc #suite #emitted #compilation

nightly chandeliers-err

Internal error message generators for the Chandeliers project

21 releases (1 stable)

1.0.0 Jan 5, 2024
0.6.1 Jan 4, 2024
0.5.2 Dec 29, 2023
0.5.0 Nov 24, 2023
0.2.6 Oct 27, 2023

#1843 in Rust patterns


Used in 3 crates

MIT/Apache

37KB
730 lines

Chandeliers-Err

Error messages for the Chandeliers suite.


Error messages raised by the static analyzer of Chandeliers are bubbled up to be emitted by Rustc.

This crate provides

  • a unified representation of errors as Vec<(String, Option<Span>)>
  • utilities to produce predefined error messages.

The interface of this crate is highly unstable, and the errors are tailor-made for compilation errors encountered when compiling Lustre programs, so it is very unlikely that any project outside of the Chandeliers suite would need anything that this crate provides.


lib.rs:

Error accumulator and panic helpers

Dependencies

~58KB