1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// check-pass fn load<L>() -> Option<L> { todo!() } fn main() { while let Some(tag) = load() { match &tag { b"NAME" => {} b"DATA" => {} _ => {} } } }