Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
invalid-self-argument
/
bare-fn-start.rs
blob: a003a01941bdee3981b4cd322c7273d7be338f4e [
file
] [
log
] [
blame
]
fn
a
(&
self
)
{
}
//~^ ERROR unexpected `self` parameter in function
//~| NOTE not valid as function parameter
//~| NOTE `self` is only valid as the first parameter of an associated function
fn
main
()
{
}