Registry / utility / codemap-diagnostic

codemap-diagnostic

JSON →
library0.1.2rscratesunverified

Library for displaying compiler error messages, extracted from rustc. Deprecated.

# Cargo.toml [dependencies] codemap-diagnostic = "0.1.2"
INSTALL
IMPORT
SIG · CODEMAP-DIAGNOSTIC
C
codemap-diagnostic
utilityrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Diagnostic
✓ use codemap_diagnostic::Diagnostic;

Creates a new error diagnostic.

use codemap_diagnostic::Diagnostic; fn main() { let diag = Diagnostic::new_error("example error"); println!("{:?}", diag); }
Debug
Known issues
breakingThis crate is deprecated and no longer maintained.
fix
Consider using alternatives like codespan-reporting or miette.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
codemap-diagnostic — cargo add codemap-diagnostic · libregistry