diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:12:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:26:03 +1100 |
| commit | c00104f36a1dd6aad318d410ffa41b9ec531880a (patch) | |
| tree | 2e317d3960f021384faa3f8ae7f19a9eed1ac849 /src/libstd/local_data.rs | |
| parent | b3cee6203457b98c030a8597f97b037a8d447f40 (diff) | |
| download | rust-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.rs | 3 |
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 |
