diff options
Diffstat (limited to 'src/test/compile-fail/lint-heap-memory.rs')
| -rw-r--r-- | src/test/compile-fail/lint-heap-memory.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/lint-heap-memory.rs b/src/test/compile-fail/lint-heap-memory.rs index fadda4173a6..b550c227898 100644 --- a/src/test/compile-fail/lint-heap-memory.rs +++ b/src/test/compile-fail/lint-heap-memory.rs @@ -10,6 +10,7 @@ #[feature(managed_boxes)]; #[forbid(heap_memory)]; +#[allow(dead_code)]; struct Foo { x: @int //~ ERROR type uses managed |
