mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
e304a1f13b
This reverts commit 54fb5a48b9
.
16 lines
216 B
Rust
16 lines
216 B
Rust
// check-pass
|
|
|
|
fn load<L>() -> Option<L> {
|
|
todo!()
|
|
}
|
|
|
|
fn main() {
|
|
while let Some(tag) = load() {
|
|
match &tag {
|
|
b"NAME" => {}
|
|
b"DATA" => {}
|
|
_ => {}
|
|
}
|
|
}
|
|
}
|