rust/tests/ui/parser/missing-fn-issue-65381-1.rs

5 lines
113 B
Rust
Raw Normal View History

main() {
//~^ ERROR missing `fn` for function definition
//~| HELP add `fn` here to parse `main` as a function
}