Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
()
{}