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