Kat Marchán

Results 343 comments of Kat Marchán

Being able to downcast back to the original error sounds super handy! I don't know if I can do this any time soon, but I'll happily take a patch to...

It's unfortunate, but I can't make that go away because `eyreish` (the thing that makes `miette::Result` work) has to specialize on `Diagnostic`, _not_ `Error` under the hood. And there's no...

If you have any ideas on what could actually work to remove this `.into_diagnostic()` thing, I would LOVE to hear them, btw!

Yeah, overlapping spans are not really... well supported (read: supported). Mostly because I couldn't figure out _how_ to support them well? What do you think this should render as? My...

I think your last example might be my favorite honestly. I think it's pretty doable too. Do you wanna give it a shot? I'm happy to give pointers!

This seems related to https://github.com/zkat/miette/pull/171! Maybe some input there would be helpful?

I think labels themselves spanning multiple files is a tough sell. Part of the point of miette is also to allow all this fancy error reporting _with a simple data...

correct. Older versions of miette supported this, and it was more complicated than it was worth. I think exploring things like #171 and such is a better alternative here.

So this is kinda reaching into the deep dark bits of miette, aka, code I didn't write. This actually comes from `eyre`, which [seems to still have the same code](https://github.com/yaahc/eyre/blob/master/src/error.rs#L543-L550),...

This is a little confusing, yes. The number next to the name is actually the start *of the displayed snippet*, not the SourceSpan itself. I've gotten multiple questions about this...