rust/src/test
bors 4beebc427c auto merge of #5797 : alexcrichton/rust/issue-1913, r=catamorphism
Closes #5487, #1913, and #4568

I tracked this by adding all used unsafe blocks/functions to a set on the `tcx` passed around, and then when the lint pass comes around if an unsafe block/function isn't listed in that set, it's unused.

I also removed everything from the compiler that was unused, and up to stage2 is now compiling without any known unused unsafe blocks.

I chose `unused_unsafe` as the name of the lint attribute, but there may be a better name...
2013-04-15 13:00:56 -07:00
..
auxiliary rename Linear{Map,Set} => Hash{Map,Set} 2013-04-03 10:30:36 -04:00
bench Revert map.each to something which takes two parameters 2013-04-10 07:51:48 -07:00
compile-fail Add a lint mode for unused unsafe blocks/functions 2013-04-14 01:15:46 -04:00
debug-info xail all debuginfo tests 2013-04-11 00:16:09 -07:00
pretty syntax: match variants use 4 space indent by default 2013-04-10 16:08:22 -07:00
run-fail rename Linear{Map,Set} => Hash{Map,Set} 2013-04-03 10:30:36 -04:00
run-pass auto merge of #5778 : jld/rust/reflect-abstract-enum, r=graydon 2013-04-15 09:57:55 -07:00
run-pass-fulldeps librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00