]> git.lizzy.rs Git - rust.git/commit
Let type_is_integral return false for bool type
authorSeo Sanghyeon <sanxiyn@gmail.com>
Mon, 4 Feb 2013 14:01:47 +0000 (23:01 +0900)
committerSeo Sanghyeon <sanxiyn@gmail.com>
Mon, 4 Feb 2013 14:01:47 +0000 (23:01 +0900)
commit6d5428cb4ee9117f16d3a5c7f36def4c60b364ed
tree0e159e88ab89da377bac46e5d055c5fc2f56bada
parent9556629da2284757efcb543fa5e27c0c94fc5e10
Let type_is_integral return false for bool type
src/librustc/middle/ty.rs
src/test/compile-fail/unop-neg-bool.rs [new file with mode: 0644]