rust/src/libcore
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
..
num core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
rt core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
task core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
unstable core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
at_vec.rs
bool.rs bool: implement Ord and TotalOrd 2013-04-11 19:01:03 -04:00
cast.rs
cell.rs
char.rs Removing no longer needed unsafe blocks 2013-04-08 17:50:25 -04:00
cleanup.rs
clone.rs clone: managed boxes need to clone by shallow copy 2013-04-08 16:19:12 -04:00
cmp.rs auto merge of #5827 : nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton 2013-04-12 15:14:24 -07:00
comm.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
condition.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
container.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
core.rc auto merge of #5810 : thestinger/rust/iterator, r=graydon 2013-04-13 14:42:57 -07:00
either.rs
flate.rs
from_str.rs
gc.rs
hash.rs Removing no longer needed unsafe blocks 2013-04-08 17:50:25 -04:00
hashmap.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
io.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
iter.rs Avoid excessive allocations and copies in iter::to_vec 2013-04-13 14:29:14 +02:00
iterator.rs initial iterator object library 2013-04-13 05:51:14 -04:00
kinds.rs
libc.rs Flesh out the SIG* constants: this adds all the posix signal 2013-04-14 14:08:22 +01:00
logging.rs
managed.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
nil.rs
ops.rs
option.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
os.rs
owned.rs
path.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
pipes.rs
prelude.rs Restore Num trait 2013-04-14 02:19:35 +10:00
ptr.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
rand.rs Fix formatting 2013-04-11 09:12:26 -04:00
reflect.rs Export adt::trans_get_discr abstractly to the type visitor. 2013-04-08 01:03:42 -07:00
repr.rs When repr'ing an enum value, assert that it matched some variant. 2013-04-08 01:03:42 -07:00
result.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
run.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
stackwalk.rs
str.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
sys.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
to_bytes.rs
to_str.rs Removing no longer needed unsafe blocks 2013-04-08 17:50:25 -04:00
trie.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
tuple.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
unicode.rs
unstable.rs core: remove unnecessary unsafe blocks/functions 2013-04-14 01:15:46 -04:00
util.rs
vec.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00