issues Search Results · repo:zkat/miette language:Rust
Filter by
212 results
(64 ms)212 results
inzkat/miette (press backspace or delete to remove)Hey!
I m having trouble getting caller location tracking to work with a custom ReportHandler in miette.
I want to output the caller s location whenever an error occurs, similar to what s shown in the ...
ArchieAtkinson
- Opened 20 days ago
- #422
Currently, the related errors of a given report will show just one after another, without any clear indication of them
belonging tightly to the outer error.
I.e., in my project, right now I have errors ...
elkowar
- 3
- Opened on Dec 22, 2024
- #416
I m trying to cast a borrowed str to a dyn SourceCode but I m receiving the error: error[E0277]: the size for values of
type str cannot be known at compilation time and help: the trait `Sized` is not ...
Diegovsky
- 12
- Opened on Dec 7, 2024
- #414
Currently, we support the label attribute to display the error source span. However, it seems that an error struct can
have multiple labels, which sometimes results in the absence of a primary label. Therefore, ...
enhancement
help wanted
bvanjoi
- 1
- Opened on Nov 28, 2024
- #412
I have a scenario where source bytes for my custom SpanContents are potentially dynamically generated by each call to
read_span on my source code, returning an Arc str (which is then stored in my SpanContents), ...
The-Minecraft-Scientist
- 2
- Opened on Nov 22, 2024
- #410
anyhow implements it s Context trait on options. This helps avoid some boilerplate:
use anyhow::Context;
let map = HashMap::from([( a , 1), ( b , 2), ( c , 3)]);
let _ = map.get( d ).with_context(|| ...
jalil-salame
- 1
- Opened on Nov 15, 2024
- #408
it s sometimes useful to get source_code as string back if we need to convert miette report to other diagnostic info
like vscode lsp format, but it seems impossible to get it back, so it seems we need ...
question
hardfist
- 1
- Opened on Sep 26, 2024
- #406
I tried enabling this feature so that I could supply a highlighter for a specific source code type in my library but
currently miette does not build with only that flag enabled:
error[E0433]: failed to ...
Porges
- Opened on Aug 6, 2024
- #397
I find myself wanting a version of Report with a well-known base type.
At the moment, as soon as you add some kind of dynamic information (context or source code) to an error you lose
information about ...
Porges
- 2
- Opened on Aug 1, 2024
- #392
Problem Right now, to use related errors in the miette! macro, you have to create a custom struct with a #[related]
field. This can be a bit cumbersome and adds extra boilerplate.
Solution It would be ...
enhancement
RobertasJ
- 3
- Opened on Jul 30, 2024
- #390

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.