1
Fork 0

Add dead-code warning pass

This commit is contained in:
Kiet Tran 2013-12-08 02:55:27 -05:00
parent 49b751dda1
commit c06dd0e0af
33 changed files with 572 additions and 53 deletions

View file

@ -10,6 +10,7 @@
#[feature(managed_boxes)];
#[forbid(heap_memory)];
#[allow(dead_code)];
struct Foo {
x: @int //~ ERROR type uses managed