Skip to content

rustdoc reports issues against lib.rs rather than an include_str!'d file #130470

@fasterthanlime

Description

@fasterthanlime

The repro repository has everything: https://github.com/fasterthanlime/readme-md-error-reporting

Expected behavior is that the diagnostics have: --> README.md:7:16, but they currently have --> src/lib.rs:7:16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions