We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e765b commit 47342cfCopy full SHA for 47342cf
library/alloctests/tests/vec.rs
@@ -2299,20 +2299,6 @@ fn test_vec_swap() {
2299
assert_eq!(n, 0);
2300
}
2301
2302
-#[test]
2303
-fn test_extend_from_within_spec() {
2304
- #[derive(Copy)]
2305
- struct CopyOnly;
2306
-
2307
- impl Clone for CopyOnly {
2308
- fn clone(&self) -> Self {
2309
- panic!("extend_from_within must use specialization on copy");
2310
- }
2311
2312
2313
- vec![CopyOnly, CopyOnly].extend_from_within(..);
2314
-}
2315
2316
#[test]
2317
fn test_extend_from_within_clone() {
2318
let mut v = vec![String::from("sssss"), String::from("12334567890"), String::from("c")];
0 commit comments