Commit dbf9798
committed
test(kernel): replace
Fixes build failure by `arithmetic_overflow` (deny-by-default).
The Rust compiler reports an `arithmetic_overflow` lint for integer
overflows detected statically. The capability of static analysis is
unspecified (AFAIK), which means the exact set of code that triggers
this lint may vary between compiler versions.<< with checked_shl in unreachable code that would cause overflow if it was executed1 parent 41425ef commit dbf9798
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments