pub macro derive_const($item:item) {
    ...
}
🔬This is a nightly-only experimental API. (derive_const)
Available on non-crate feature miri-test-libstd only.
Expand description

Attribute macro used to apply derive macros for implementing traits in a const context.

See the reference for more info.