Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
arithmetic_overflow
lint in a cast test
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.
- Loading branch information