Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
ui
/
invalid-self-argument
/
bare-fn.stderr
blob: ff2217b5e80bc04acacd8506cf241655e814f2c3 [
file
] [
log
] [
blame
]
error
:
unexpected
`self`
parameter
in
function
-->
$DIR
/
bare
-
fn
.
rs
:
1
:
16
|
LL
|
fn b
(
foo
:
u32
,
&
mut
self
)
{
}
|
^^^^^^^^^
must be the first parameter of an associated
function
error
:
aborting due to previous error