-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensions
Description
It seems as though using quote_expr!() in a syntax extension after a span_err() will cause rustc to abort early instead of finishing the macro expansion phase.
I hit this in my bytes!() PR, where I ended up having to track whether I had an error and use DummyResult instead of quote_expr!().
Metadata
Metadata
Assignees
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensions