Skip to content

macros: syntax errors in matches should fail on definition, not use #39404

Closed

Description

@jseyfried

For example,

macro_rules! m { ($i) => {} }
// m!(); // uncommenting this causes an error at the def site

Activity

  1. self-assigned this
    on Jan 30, 2017
  2. added
    A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
    on Jan 30, 2017
  3. added a commit that references this issue on Mar 1, 2017
    4ba49ab
  4. added a commit that references this issue on Mar 1, 2017
    7ce1fbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions