Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
pattern
/
byte-string-inference.rs
blob: c49f599bc9bfd7c027ee52e382760bd754b3bc50 [
file
]
//@ check-pass
fn
load
<
L
>()
->
Option
<
L
>
{
todo
!()
}
fn
main
()
{
while
let
Some
(
tag
)
=
load
()
{
match
&
tag
{
b
"NAME"
=>
{}
b
"DATA"
=>
{}
_
=>
{}
}
}
}