error_snippet 0.2.0

Library for reporting fancy diagnostics to the console
Documentation
1
2
3
4
5
6
7
use error_snippet_derive::Diagnostic;

#[derive(Debug, Diagnostic)]
#[diagnostic(message = "some help", severity = "Warning")]
struct Foo {}

fn main() {}