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

5 lines
149 B
Rust

pub const initial_value() -> Self {
//~^ ERROR missing `fn` for function definition
//~| HELP add `fn` here to parse `initial_value` as a function
}