#![allow(unused_variables)] fn main() { assert_eq!(Vec::from(& mut [1, 2, 3] [..]), vec![1, 2, 3]); }