Skip to content

False macro expansion error in lazy_static_include_bytes #11521

Open
@matklad

Description

This macro call fails to expand for me:

https://github.com/near/nearcore/blob/d338e91390c9b3ed422c66dbfd2548bcc8282249/genesis-tools/genesis-csv-to-json/src/csv_parser.rs#L345-L347

I think this is related to $vis token producing an empty match, as the following works:

pub RES => "res/test_accounts.csv"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionBroken WindowBugs / technical debt to be addressed immediatelyC-bugCategory: bugE-unknownIt's unclear if the issue is E-hard or E-easy without digging inS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions