Skip to content

local ambiguity when calling macro when using statics: and functions #23

Description

@ids1024

I noticed this testing #22. After updating the doc tests to build, this error occurs.

---- src/lib.rs - (line 8) stdout ----
error: local ambiguity when calling macro `external_library`: multiple parsing options: built-in NTs ident ('sname') or 1 other option.
  --> src/lib.rs:16:5
   |
11 |     functions:
   |     ^^^^^^^^^

functions: can be matched as a static, so it is ambiguous and fails to compile. I presume this will require a breaking change to the macro to use a non-ambiguous syntax.

Activity

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

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