diff options
| author | bors <bors@rust-lang.org> | 2017-11-05 09:11:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-05 09:11:45 +0000 |
| commit | 4efcc660f09ce3e83d194889f6d1161bf865f788 (patch) | |
| tree | 687a9cd8774248d39bdca6df1f743f766bd99466 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 16e9b9f15cc405cfccc4469216b8711abbeae9d5 (diff) | |
| parent | 0d745af29a7566538277bd7a3b16faf09df7fe63 (diff) | |
| download | rust-4efcc660f09ce3e83d194889f6d1161bf865f788.tar.gz rust-4efcc660f09ce3e83d194889f6d1161bf865f788.zip | |
Auto merge of #45754 - scottmcm:checked-npot, r=dtolnay
Fix #18604: next_power_of_two should panic on overflow Fixes https://github.com/rust-lang/rust/issues/18604 Is it possible to write a test for this? My experiments showed `x.py test` running in release mode, so my attempt at a `#[should_panic]` didn't work.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
