Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
parser
/
removed-syntax
/
removed-syntax-static-fn.rs
blob: cd643b874dbda108a22c18bf7a53b67f52ddb470 [
file
]
struct
S
;
impl
S
{
static
fn
f
()
{}
//~^ ERROR expected identifier, found keyword `fn`
//~| ERROR expected one of `:`, `;`, or `=`
//~| ERROR missing type for `static` item
}
fn
main
()
{}