blob: cd643b874dbda108a22c18bf7a53b67f52ddb470 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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() {}
|