1
Fork 0

Revert "Structurally resolve correctly in check_pat_lit"

This reverts commit 54fb5a48b9.
This commit is contained in:
Michael Goulet 2023-06-24 18:35:22 +00:00
parent 1d67eba687
commit e304a1f13b
4 changed files with 30 additions and 3 deletions

View file

@ -0,0 +1,15 @@
// check-pass
fn load<L>() -> Option<L> {
todo!()
}
fn main() {
while let Some(tag) = load() {
match &tag {
b"NAME" => {}
b"DATA" => {}
_ => {}
}
}
}