Add dead-code warning pass
This commit is contained in:
parent
49b751dda1
commit
c06dd0e0af
33 changed files with 572 additions and 53 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#[feature(managed_boxes)];
|
||||
#[forbid(heap_memory)];
|
||||
#[allow(dead_code)];
|
||||
|
||||
struct Foo {
|
||||
x: @int //~ ERROR type uses managed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue