diff options
Diffstat (limited to 'src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs')
| -rw-r--r-- | src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs b/src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs index ae455d916b6..90b2031afd4 100644 --- a/src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs +++ b/src/test/run-pass/cleanup-rvalue-temp-during-incomplete-alloc.rs @@ -8,6 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![allow(unused_must_use)] +#![allow(dead_code)] +#![allow(unused_variables)] // Test cleanup of rvalue temporary that occurs while `box` construction // is in progress. This scenario revealed a rather terrible bug. The // ingredients are: |
