Commit 8ba2458
Merge #267
267: Allow `arithmetic_overflow` lint in a cast test r=cuviper a=cuviper
The cast tests generate some code with branches that contain min/max
operations that would overflow if they were reachable. Recent rustc
changes have gotten more aggressive with const-propagation, causing that
code to trigger the deny-by-default `arithmetic_overflow` lint, but we
can explicitly allow it in this case.
Co-authored-by: Josh Stone <[email protected]>1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
0 commit comments