Kat Marchán

Results 343 comments of Kat Marchán

This is by design. That `1:1` is actually referring to the beginning of the overall snippet, not the highlight. This is because miette supports multiple highlights, and to clarify where...

I would take a PR to disable displaying this in the default graphical renderer, for folks who think this might be confusing and would rather just go by the existing...

The code for this is here: https://github.com/zkat/miette/blob/main/src/panic.rs#L37-L86 I wonder what's going on. It sure looks like miette is just skipping over most of the user code here. :(

Hmmm. This seems to be a limitation of the `Diagnostic` macro, but I'm not sure how to work around it. To show something that works, for example: ```rust #[derive(Debug, Error)]...

miette supports multiline errors. It doesn't differentiate starting and ending _positions_ within lines for those errors, but you should be able to give it a span that crosses line boundaries...

Oh that. Yes it's clear now. I'll update the title to be clearer about it

> If a user wishes to not have it displayed, they can choose not to use the features that miette gives them. At scale, a dev does not necessarily have...

tbh while it's weird, I'm inclined to mark this as "wontfix". When I was writing this, I intentionally decided not to bother making them overlap because I assumed it would...

I believe I did this on purpose, but some terminals display it as a BIG space. Happy to change it, though.