Skip to content

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

Closed
@jseyfried

Description

@jseyfried

For example,

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

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