ariadne
ariadne copied to clipboard
A fancy diagnostics & error reporting crate
## Repro Run the example: ``` cargo run --example multiline ``` ## Expected results All characters are rendered as expected ## Actual results Up arrow character 🭯 ([`U+1FB6F`](https://www.compart.com/en/unicode/U+1FB6F)) is rendered...
I've got some troubles trying to implement `Cache`; trying to compile this: ```rust struct CdlFiles { fn fetch(&mut self, id: &spircer::FileId) -> Result { for i in *id..self.project.files.len() { self.cache.push(ariadne::Source::from(unsafe...
In the method to create a report builder, there are two arguments corresponding to a source ID and a location. From reading the source code, these correspond to a `location`...
Here's my christmas wishlist for the API overhaul: - [x] allow working with non-`str` data (#8) - [ ] get rid of initial location in `Report::build()` (#3) - [ ]...
It would be nice to be able to somehow hijack the rendering phase to be able to use the layouted reports in a TUI, e.g. by writing an equivalent to...
In `codespan-reporting` crate, it is possible to attach multiple notes to a diagnostic message. In `ariadne`, there is only one message and only one note available to provide, limiting the...
Hello, I am trying to use ariadne for error reporting for a crate. I am getting a problem with printing Reports that span multiple lines. Here is some example code:...
Right now, the error drawer seems to assume that `span.start()` and `span.end()` are character indices rather than byte indices. This might be useful for manually choosing the error position, but...
I have been thinking about how to make nice errors for using builtins in the lisp for my in-progress build tool, dull. At first i copied the structure of the...
Sorry if duplicate. I mean this:  Is it just my font? I'm using vscode terminal.