Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
invalid-self-argument
/
trait-fn.stderr
blob: c9d0a338ef428546b0b114d5869d6e339c1e0e19 [
file
] [
log
] [
blame
]
error
:
unexpected
`self`
parameter
in
function
-->
$DIR
/
trait
-
fn
.
rs
:
4
:
20
|
LL
|
fn c
(
foo
:
u32
,
self
)
{}
|
^^^^
must be the first parameter of an associated
function
error
:
aborting due to
1
previous error