1
Fork 0
rust/src/test/ui/structs/incomplete-fn-in-struct-definition.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
84 B
Rust
Raw Normal View History

fn main() {}
struct S {
fn //~ ERROR expected identifier, found keyword `fn`
}