Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
issues
/
issue-22603.rs
blob: a83e291f999ab88862dc6e59aa8a6c2977d2dbd2 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
unboxed_closures
,
fn_traits
)]
struct
Foo
;
impl
<
A
>
FnOnce
<(
A
,)>
for
Foo
{
type
Output
=
();
extern
"rust-call"
fn
call_once
(
self
,
(
_
,):
(
A
,))
{
}
}
fn
main
()
{
println
!(
"{:?}"
,
Foo
(
"bar"
));
}