Skip to content

Rustdoc fails on modules with reserved file names #86458

Open
@vihdzp

Description

@vihdzp

Problem
Adding a module named con, nul, or any other reserved name on Windows causes Rustdoc to fail.

Steps

  1. Add an empty module named con.
  2. Run cargo doc.

Possible Solution(s)
A fix similar to #83612 should get rid of this issue.

Notes

I'm on Windows 10. I haven't tested this, but I'm almost certain this bug should exist in all other versions of Windows, and in no other operating system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windowsOperating system: WindowsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions