Skip to content

Duplicate #[derive(...)] when it is placed on line 1 in --html option #195

@TimePrinciple

Description

@TimePrinciple

When #[derive(...)] is placed on line 1 of a file and then run cargo llvm-cov --html, the resulting Coverage report has two same and adjacent #[derive(...)] like this
image
After moving the first line to the second, it works normally again:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions