mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 23:59:07 +00:00
14 lines
336 B
Plaintext
14 lines
336 B
Plaintext
error: missing `fn` for function definition
|
|
--> $DIR/missing-fn-issue-65381-3.rs:1:11
|
|
|
|
|
LL | pub const initial_value() -> Self {
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
help: add `fn` here to parse `initial_value` as a function
|
|
|
|
|
LL | pub const fn initial_value() -> Self {
|
|
| ++
|
|
|
|
error: aborting due to 1 previous error
|
|
|