test out better debugging

This commit is contained in:
nora 2022-04-23 17:03:17 +02:00
parent 6a8eb89381
commit 5f9ca90fd5
13 changed files with 422 additions and 145 deletions

View file

@ -13,7 +13,7 @@ pub use span::Span;
mod span {
#[derive(Debug, Default, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Hash)]
#[cfg_attr(feature = "_debug", derive(debug2::Debug))]
#[cfg_attr(feature = "_debug", derive(dbg_pls::DebugPls))]
pub struct Span {
pub start: usize,
pub end: usize,