rust/tests/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
88 B
Rust
Raw Normal View History

fn main() {}
struct S {
2022-09-28 02:42:52 +00:00
fn: u8 //~ ERROR expected identifier, found keyword `fn`
}