]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #69241 - shahn:checked_add_revert, r=Mark-Simulacrum,lqd
authorbors <bors@rust-lang.org>
Wed, 19 Feb 2020 01:36:31 +0000 (01:36 +0000)
committerbors <bors@rust-lang.org>
Wed, 19 Feb 2020 01:36:31 +0000 (01:36 +0000)
commita2fb0c28be794f28028884650db70c17fea8e35b
tree1b8698110e2a1c02b9f38f8fd213f79dc6cc7561
parente0e5d82e1677c82d209b214bbfc2cc5705c2336a
parent3e17d191fa47b9ab262d0efa3a39e500e9fb1667
Auto merge of #69241 - shahn:checked_add_revert, r=Mark-Simulacrum,lqd

Revert "Remove `checked_add` in `Layout::repeat`"

This fixes a a segfault in safe code, a stable regression. Reported in #69225.

This reverts commit a983e0590a43ed8b0f60417828efd4e79b51f494.