Rust: Fix Copy and Clone impls for a few generic types (#5577)

* Rust: Fix Copy and Clone impls for a few generic types

* Add tests for Copy+Clone

* Wrap Copy+Clone checks in a #[test] function
This commit is contained in:
Mathias Svensson
2019-10-28 05:20:29 +01:00
committed by Robert Winslow
parent 26f238c248
commit b4774d2354
4 changed files with 57 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ path = "bin/alloc_check.rs"
quickcheck = "0.6"
# TODO(rw): look into moving to criterion.rs
bencher = "0.1.5"
static_assertions = "1.0.0"
[[bench]]
# setup for bencher