Commit 8b209e3
fix: suppress false positive unused_assignments warnings in Rust 1.92
Add #![allow(unused_assignments)] at crate level to suppress false positive
warnings introduced by Rust 1.92's stricter lint behavior on code generated
by the enum-as-inner derive macro.
This is a known Rust compiler bug tracked at:
- rust-lang/rust#147648
The fix for enum-as-inner is pending at:
- bluejekyll/enum-as-inner#108
The allow can be removed once enum-as-inner is updated.
Co-Authored-By: Maximilian Roos <max-sixty@users.noreply.github.com>1 parent 8fefc00 commit 8b209e3
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
0 commit comments