const extern fn's dont need fn
specifier
#68062
Labels
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
A-parser
Area: The parsing of Rust source code to an AST
C-bug
Category: This is a bug.
F-const_extern_fn
`#![feature(const_extern_fn)]`
P-high
High priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following program compiles, and prints
1
:The text was updated successfully, but these errors were encountered: