]> git.lizzy.rs Git - rust.git/commit
Auto merge of #49981 - nox:fix-signed-niches, r=eddyb
authorbors <bors@rust-lang.org>
Wed, 18 Apr 2018 12:22:11 +0000 (12:22 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Apr 2018 12:22:11 +0000 (12:22 +0000)
commit65d201f7d682ad921ac6e67ac07f922aa63a8ce4
treee134294fc24e3e0e7488245b7677bb70e3269e1c
parentf4bb956278e395a34b416d5a3ef03044777625ef
parenta7c4b5c97af96641dad7d4637377efa929522c6e
Auto merge of #49981 - nox:fix-signed-niches, r=eddyb

Properly handle ranges of signed enums using both extremums (fixes #49973)

Fixes #49973.
src/librustc/ty/layout.rs