rustfix
rustfix copied to clipboard
`cargo fix` doesn't work for rustdoc lints
Since https://github.com/rust-lang/rust/pull/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.
Related: https://github.com/rust-lang/cargo/pull/8859