Skip to content

Removing proc_macro_hack #2406

@Ciantic

Description

@Ciantic

The macros using proc_macro_hack like select!, try_join! don't work with Rust Analyzer ( rust-lang/rust-analyzer#6835 ).

I don't know what is required to remove proc_macro_hack, but given that it's page says:

Note: As of Rust 1.45 this crate is superseded by native support for #[proc_macro] in expression position. Only consider using this crate if you care about supporting compilers between 1.31 and 1.45.

It could be replaceable with proc_macro, which has better support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macroArea: macro related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions