Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
suggest-add-self-issue-128042.rs
blob: f94d166c4967a130869a539cafac036fd8311150 [
file
] [
log
] [
blame
] [
edit
]
struct
Thing
{
state
:
u8
,
}
impl
Thing
{
fn
oof
(*
mut
Self
)
{
//~ ERROR expected parameter name, found `*`
self
.
state
=
1
;
//~^ ERROR expected value, found module `self`
}
}
fn
main
()
{}