1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//! Structured findings emitted by engines and linter adapters.
//!
//! One enum, every layer speaks it. Engines emit `Mismatch` /
//! `UnwritableRequiredKey` / `ParseError`, plus the two requirement-level
//! failures from the merge/write path: `ConflictingRequirements` and
//! `InvalidRequirements`. Anything else catastrophic that's still
//! recoverable becomes `InternalError`.
//!
//! GUARDRAILS CAPABILITY BLOCK (R2) -- DO NOT REMOVE. Every `key` here is a
//! location inside a CONFIG file (a TOML/JSON key), never a source-code span,
//! AST node, line/column into `.rs`/`.ts`/`.js`, or any code construct.
//! Guardrails validates config and is NOT a linter; a source-location variant
//! would be the first step to reimplementing one. Do not add a source span /
//! code-location / AST payload to any variant unless the repo owner authorizes
//! it in writing with reasoning. See guardrails-capability-boundary (R2).
use crate;
/// Rendered policy contributors for a requirement-level finding.
pub type RenderedContributors = ;
/// A structured finding emitted by a `FileEngine` or a linter adapter.