zesterer / ariadne

A fancy diagnostics & error reporting crate
https://crates.io/crates/ariadne
MIT License
1.61k stars 72 forks source link

Implement common traits for Report(Builder), FileCache, FnCache #60

Closed loewenheim closed 1 year ago

loewenheim commented 1 year ago

For the caches, some traits can just be derived. For Report and ReportBuilder, we need to implement Debug by hand because the fields location and labels prevent us from deriving it. These fields are simply skipped in the Debug impl for now.

zesterer commented 1 year ago

Thanks so much!