Unsupported default function parameters should have an explicit diagnostic #137310
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
especially since
#![feature(default_field_values)]
uses the same syntax, this seems plausible to tryOther cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: