mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
2e2699d2dc
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.
7 lines
196 B
TOML
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
|