1 // This test checks that `VecDeque::front[_mut]()` and `VecDeque::back[_mut]()` can't panic.
4 // ignore-debug: the debug assertions get in the way
8 use std::collections::VecDeque;
10 // CHECK-LABEL: @dont_panic
12 pub fn dont_panic(v: &mut VecDeque<usize>) {