let a = &[1i, 2, 3][] will compile while let a = &[1i, 2, 3].as_slice() will not.
let a = &[1i, 2, 3][] will compile while let a = &[1i, 2, 3].as_slice() will not.