Skip to content

Breaks const unsafe functions #852

@phil-opp

Description

@phil-opp

Rustfmt (version 0.3.0) changes the order of const and unsafe from the valid

pub const unsafe fn new() -> SomeType {..}

to the illegal

pub unsafe const fn new() -> SomeType {..}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions