about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-10 09:02:11 +0000
committerbors <bors@rust-lang.org>2024-07-10 09:02:11 +0000
commitb01242150194965d5126748831718488539026c2 (patch)
tree1bce054cfadc33d69b73945add2b00c2231d9f6a /compiler/rustc_codegen_gcc/example/std_example.rs
parentab7c910590a6fc1551adfea61fb5bf728c652086 (diff)
parentd2ff2b98507d0abaa2c878f74035774f9d9bcd95 (diff)
downloadrust-b01242150194965d5126748831718488539026c2.tar.gz
rust-b01242150194965d5126748831718488539026c2.zip
Auto merge of #12944 - Jarcho:overflow_check, r=y21
Fix and rename `overflow_check_conditional`

fixes #2457

Other changes:
* Limit the lint to unsigned types.
* Actually check if the operands are the same rather than using only the first part of the path.
* Allow the repeated expression to be anything as long as there are no side effects.

changelog: Rename `overflow_check_conditional` to `panicking_overflow_check` and move to `correctness`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions