Skip to content

cargo fix doesn't work for rustdoc lints #13025

New issue

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

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

Already on GitHub? # to your account

Open
jyn514 opened this issue Jan 18, 2021 · 1 comment
Open

cargo fix doesn't work for rustdoc lints #13025

jyn514 opened this issue Jan 18, 2021 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-doc Command-fix S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

Comments

@jyn514
Copy link
Member

jyn514 commented Jan 18, 2021

Since rust-lang/rust#77856, rustdoc has a machine applicable suggestion to use <url> instead of url, to make it a hyperlink in the docs. But there is no way to actually apply that lint automatically - cargo fix never runs rustdoc.

@jyn514
Copy link
Member Author

jyn514 commented Jan 18, 2021

Related: #8859

@ehuss ehuss transferred this issue from rust-lang/rustfix Nov 22, 2023
@ehuss ehuss added Command-doc S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. Command-fix C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` labels Nov 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-doc Command-fix S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Projects
None yet
Development

No branches or pull requests

2 participants