Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
invalid-self-argument
/
bare-fn.stderr
blob: b13f746a4ec584a5bc3e2b62bc0de418247a8bbb [
file
] [
log
] [
blame
]
error
:
unexpected
`self`
argument
in
function
-->
$DIR
/
bare
-
fn
.
rs
:
1
:
21
|
LL
|
fn b
(
foo
:
u32
,
&
mut
self
)
{
}
|
^^^^
`self`
is
only valid
as
the first argument of an associated
function
error
:
aborting due to previous error