codemap-diagnostic icon indicating copy to clipboard operation
codemap-diagnostic copied to clipboard

Rust library for displaying compiler diagnostics like rustc

Results 5 codemap-diagnostic issues
Sort by recently updated
recently updated
newest added

I noticed that rustc is [breaking out its error formatting](https://github.com/rust-lang/rust/issues/59346) into a reusable library called [annotate-snippets-rs](https://github.com/rust-lang/annotate-snippets-rs). The API seems slightly lower level (e.g. explicitly choosing what portion of the source...

Given the test case: ```rust fn test_bug() { use codemap as C; use codemap_diagnostic as D; let mut cm = C::CodeMap::new(); let src = r#"A B C D E F"#;...

The data structure defined in the `codemap` crate isn't for everyone. This library should use traits to make it agnostic to the codemap / span implementation, and the dependency on...

This appears to be related to synchronizing multiple processes trying to write output at once, which is likely a rare use case for non-rustc code. At minimum, there should probably...

Where there tests that can be extracted out of rustc?