Files
IronRDP/clippy.toml
Benoît Cortier 2e2699d2dc fix(error): box diagnostic metadata to shrink Error<Kind> size (#1269)
Move context, location, and source into a heap-allocated ErrorMeta
struct so that Error<Kind> holds only kind on the stack. This eliminates
the size cascade that caused ConnectorError to exceed clippy's 128-byte
threshold (it was raised to 152 to accommodate the Location field).

Error construction is already #[cold], so the single Box allocation per
error is acceptable.
2026-05-14 13:57:23 +03:00

7 lines
196 B
TOML

msrv = "1.87"
semicolon-outside-block-ignore-multiline = true
accept-comment-above-statement = true
accept-comment-above-attributes = true
allow-panic-in-tests = true
allow-unwrap-in-tests = true