about summary refs log tree commit diff
path: root/src/test/compile-fail/integral-variable-unification-error.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-28 05:24:31 -0700
committerGitHub <noreply@github.com>2016-07-28 05:24:31 -0700
commitcec262e55a92ad15196c4ea6d490fb6ef6bccab4 (patch)
tree6e726ce8cb2e0d80f4bd02d8b8fd1e9b6e27f526 /src/test/compile-fail/integral-variable-unification-error.rs
parent1895bf760d4f7d11510619fd7ee794aa5afc4803 (diff)
parentd1e2a935d2d35e768d0a56af7938c725f243fc28 (diff)
downloadrust-cec262e55a92ad15196c4ea6d490fb6ef6bccab4.tar.gz
rust-cec262e55a92ad15196c4ea6d490fb6ef6bccab4.zip
Auto merge of #34951 - tomgarcia:covariant-vec, r=brson
Make vec::Drain and binary_heap::Drain covariant

I removed all mutable pointers/references, and added covariance tests similar to the ones in #32635. It builds and passes the tests, but I noticed that there weren't any tests of Drain's behaviour (at least not in libcollectionstest), so I'm not sure if my changes accidently broke Drain's behaviour. Should I add some tests for that (and if so, what should the tests include)?
Diffstat (limited to 'src/test/compile-fail/integral-variable-unification-error.rs')
0 files changed, 0 insertions, 0 deletions