Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
src
/
test
/
ui
/
parser
/
self-in-function-arg.rs
blob: 6172ffe1b0347aee9440f8a84b15ea04a82c93b2 [
file
] [
log
] [
blame
]
fn
foo
(
x
:
i32
,
self
:
i32
)
->
i32
{
self
}
//~ ERROR unexpected `self` parameter in function
fn
main
()
{}