about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-15 02:43:01 -0700
committerGitHub <noreply@github.com>2016-09-15 02:43:01 -0700
commite2c64d16906dbb29763d6cbf022164a09247ef9f (patch)
treea883d425df8db6fe8b147990b8296ad2281748ed /src/rustllvm/RustWrapper.cpp
parent16ff9e22cdb552fd10e6cee2eb22f0c5da6d7e79 (diff)
parent7bd25a304851afdf0ba1897a950220ed3ad0a215 (diff)
downloadrust-e2c64d16906dbb29763d6cbf022164a09247ef9f.tar.gz
rust-e2c64d16906dbb29763d6cbf022164a09247ef9f.zip
Auto merge of #36372 - sfackler:sum-prod-overflow, r=alexcrichton
Inherit overflow checks for sum and product

We have previously documented the fact that these will panic on overflow, but I think this behavior is what people actually want/expect. `#[rustc_inherit_overflow_checks]` didn't exist when we discussed these for stabilization.

r? @alexcrichton

Closes #35807
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions