Skip to content

regression: proc-macro derive unparseable #85692

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

From https://crater-reports.s3.amazonaws.com/beta-1.52-2/beta-2021-05-23/gh/omegablitz.gluon-bug/log.txt

[INFO] [stdout] error: expected one of `{`, lifetime, or type, found `,`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/gluon-9c68e1737197fd9b/77652ab/base/src/types/mod.rs:522:17
[INFO] [stdout]     |
[INFO] [stdout] 522 | #[derive(Clone, AstClone)]
[INFO] [stdout]     |                 ^^^^^^^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 543 |     T: TypePtr<Id = Id>,
[INFO] [stdout]     |                         - expected one of `{`, lifetime, or type
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive produced unparseable tokens
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/gluon-9c68e1737197fd9b/77652ab/base/src/types/mod.rs:522:17
[INFO] [stdout]     |
[INFO] [stdout] 522 | #[derive(Clone, AstClone)]
[INFO] [stdout]     |                 ^^^^^^^^

cc @petrochenkov @Aaron1011 -- any recent parser changes you can think of that might've caused this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-proc-macrosArea: Procedural macrosT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.relnotesMarks issues that should be documented in the release notes of the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions