about summary refs log tree commit diff
path: root/src/libstd/local_data.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-12-20 01:12:56 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-12-20 01:26:03 +1100
commitc00104f36a1dd6aad318d410ffa41b9ec531880a (patch)
tree2e317d3960f021384faa3f8ae7f19a9eed1ac849 /src/libstd/local_data.rs
parentb3cee6203457b98c030a8597f97b037a8d447f40 (diff)
downloadrust-c00104f36a1dd6aad318d410ffa41b9ec531880a.tar.gz
rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.zip
std: silence warnings when compiling test.
Diffstat (limited to 'src/libstd/local_data.rs')
-rw-r--r--src/libstd/local_data.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/local_data.rs b/src/libstd/local_data.rs
index 87fe5ac6f22..ad624f71d0c 100644
--- a/src/libstd/local_data.rs
+++ b/src/libstd/local_data.rs
@@ -438,6 +438,9 @@ mod tests {
         static int_key: Key<@int> = &Key;
         do task::spawn {
             set(str_key, @~"string data");
+            set(str_key, @~"string data 2");
+            set(box_key, @@());
+            set(box_key, @@());
             set(int_key, @42);
             // This could cause a segfault if overwriting-destruction is done
             // with the crazy polymorphic transmute rather than the provided