Skip to content

Deprecate the bytes!() macro #14881

Closed
Closed
@SimonSapin

Description

@SimonSapin

Depends on #14880. Blocks #14646.

The bytes!() macro is to be removed soon. Using it should cause a compile-time warning the recommends using the new b"foo" byte string literal syntax instead (#14880).

I’d submit a PR (or make it part of #14880), but I don’t know how to do this. Since procedural macros are not defined by a single item, there is nowhere to add #[deprecated]. I suspect there is something to add around here, but any pointer is appreciated.

cc @brson

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