MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_diagnostic_level

Function is_diagnostic_level

src/diagnostics/rust.rs:130–132  ·  view source on GitHub ↗

Cargo emits messages of many levels — "warning" and "error" produce diagnostics; "note", "help", "failure-note" are advisory and would double-count if we surfaced them.

(level: &str)

Source from the content-addressed store, hash-verified

128/// diagnostics; "note", "help", "failure-note" are advisory and would
129/// double-count if we surfaced them.
130fn is_diagnostic_level(level: &str) -> bool {
131 matches!(level, "error" | "warning")
132}
133
134#[derive(Debug, Deserialize)]
135struct CargoLine {

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected