rustc/tests/ui/parser/missing-fn-issue-65381-3.rs
2024-10-21 11:08:01 +02:00

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
}