Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
closures
/
issue-46742.rs
blob: 72e429f7ec7dd52becc8d9e879d5fbb26fb8155f [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
fn
main
()
{
let
_
:
i32
=
(
match
""
{
"+"
=>
::
std
::
ops
::
Add
::
add
,
"-"
=>
::
std
::
ops
::
Sub
::
sub
,
"<"
=>
|
a
,
b
|
(
a
<
b
)
as
i32
,
_
=>
unimplemented
!(),
})(
5
,
5
);
}