Skip to content

rustdoc errors on files with punctuation #51229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cramertj opened this issue May 30, 2018 · 0 comments
Closed

rustdoc errors on files with punctuation #51229

cramertj opened this issue May 30, 2018 · 0 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@cramertj
Copy link
Member

rustdoc main.rs --crate-name foo succeeds and outputs documentation for a crate called foo, but rustdoc main.bane.rs --crate-name foo errors with "invalid character . in crate name: main.bane".

@GuillaumeGomez GuillaumeGomez added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label May 31, 2018
@steveklabnik steveklabnik added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. and removed A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools labels May 31, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue Jun 5, 2018
…me, r=QuietMisdreavus

Fix crate-name option in rustdoc

Fixes rust-lang#51229.

r? @QuietMisdreavus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants