about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-04 21:15:43 -0700
committerbors <bors@rust-lang.org>2013-09-04 21:15:43 -0700
commitd285ea791058f7db8bef828740aae95e69becc99 (patch)
treec1ad5f27aef3485a5c2c1ec143d7afe3a65e6797 /src/libsyntax
parentb6d825ee567633d917127a91a3f8a98012a24170 (diff)
parentb153219556e20cb9f0e70c6a064cdfd10469ea32 (diff)
downloadrust-d285ea791058f7db8bef828740aae95e69becc99.tar.gz
rust-d285ea791058f7db8bef828740aae95e69becc99.zip
auto merge of #8980 : thestinger/rust/bool, r=thestinger
This is currently unsound since `bool` is represented as `i8`. It will
become sound when `bool` is stored as `i8` but always used as `i1`.

However, the current behaviour will always be identical to `x & 1 != 0`,
so there's no need for it. It's also surprising, since `x != 0` is the
expected behaviour.

Closes #7311

d0a1176 r=huonw
e4a76e6 r=thestinger
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions