rust/src/test
Daniel Micay b49e9fa794 forbid cast as bool
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
2013-09-04 23:09:51 -04:00
..
auxiliary auto merge of #8963 : jmgrosen/rust/issue-8881, r=alexcrichton 2013-09-03 19:46:42 -07:00
bench fix various warnings 2013-08-30 15:10:55 -07:00
codegen Fix warnings it tests 2013-08-17 08:42:35 -07:00
compile-fail forbid cast as bool 2013-09-04 23:09:51 -04:00
debug-info debuginfo: Much improved handling of captured variables and by-value arguments. 2013-09-04 18:38:46 +02:00
pretty Fix warnings it tests 2013-08-17 08:42:35 -07:00
run-fail extra: error message should reflact that RUST_TEST_TASKS should be strictly positive (zero is illegal). 2013-08-29 22:58:27 +10:00
run-pass forbid cast as bool 2013-09-04 23:09:51 -04:00
run-pass-fulldeps quote_*! macros take an ExtCtx 2013-08-18 13:14:15 -04:00