//@ run-fail //@ error-pattern:explicit panic //@ ignore-emscripten no processes fn build1() -> Vec { vec![0, 0, 0, 0, 0, 0, 0] } fn build2() -> Vec { panic!(); } struct Blk { node: Vec, span: Vec, } fn main() { let _blk = Blk { node: build1(), span: build2(), }; }