Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
6af831ace693ed380c3dba78cf133ffdd6d460de
/
.
/
src
/
test
/
ui
/
abi
/
issues
/
issue-22565-rust-call.rs
blob: 055d959b46e10288eb5d39a3a1bb1399cacf3bfc [
file
] [
log
] [
blame
]
#![
feature
(
unboxed_closures
)]
extern
"rust-call"
fn
b
(
_i
:
i32
)
{}
//~^ ERROR A function with the "rust-call" ABI must take a single non-self argument that is a tuple
fn
main
()
{
b
(
10
);
}