Sign in
android
/
toolchain
/
rustc
/
32f7835b4f844d645621e83c89a3178ef87b0d69
/
.
/
src
/
test
/
ui
/
parser
/
self-in-function-arg.stderr
blob: 47d8381b0b1dad4322fcc4935f9c73de6a0a001f [
file
] [
log
] [
blame
]
error
:
unexpected
`self`
parameter
in
function
-->
$DIR
/
self
-
in
-
function
-
arg
.
rs
:
1
:
15
|
LL
|
fn foo
(
x
:
i32
,
self
:
i32
)
->
i32
{
self
}
|
^^^^
must be the first parameter of an associated
function
error
:
aborting due to previous error