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-27 21:42:52 -05:00
fn: u8 //~ ERROR expected identifier, found keyword `fn`
}