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