Skip to content

regresion: parsing failure in derive expansion? #115775

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime
[INFO] [stdout]  --> tests/happy.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     thing: &'static str,
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `'`
[INFO] [stdout]  --> examples/simple.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Display)]
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 expected one of `>`, a const expression, lifetime, or type
[INFO] [stdout]   |                 while parsing this item list starting here
[INFO] [stdout]   |                 the item list ends here
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error

https://crater-reports.s3.amazonaws.com/beta-1.73-1.2/beta-2023-09-10/reg/displaydoc-watt-0.1.0/log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-proc-macrosArea: Procedural macrosS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions