]> git.lizzy.rs Git - rust.git/commitdiff
Merge #3331
authorbors[bot] <bors[bot]@users.noreply.github.com>
Thu, 25 Oct 2018 09:38:00 +0000 (09:38 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Thu, 25 Oct 2018 09:38:00 +0000 (09:38 +0000)
3331: Disable arithmetic lints in constant items r=oli-obk a=pengowen123

Currently this will not catch cases in associated constants. I'm not sure whether checking spans is the best way to solve this issue, but I don't think it will cause any problems.
Fixes #1858

Co-authored-by: Owen Sanchez <pengowen816@gmail.com>

Trivial merge