1 2 3 4 5 6
// error-pattern: thread 'main' panicked at 'explicit panic' fn main() { let mut vec = vec![]; vec.push((vec.len(), panic!())); }