1 2 3 4 5 6 7 8 9
// check-pass #![allow(dead_code)] #[derive(Debug)] struct Message<'a, P: 'a = &'a [u8]> { header: &'a [u8], payload: P, } fn main() {}