Skip to content

Support inline variables in format strings in Display #237

@WiSaGaN

Description

@WiSaGaN

Would be great to support the newly stabalized (1.67) format args

#[derive(Display)]
pub enum Foo {
    #[display(fmt="{_0}")]
    Bar(u32),
}

Currently it shows "cannot be formatted with the default parameter"

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions