You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It runs but gives errors on each file/example in this repo:
$ cargo +nightly rustdoc-clippy
Finished test [unoptimized + debuginfo] target(s) in 0.03s
Doc-tests rust_xlsxwriter
running 195 tests
error: multiple input filenames provided (first two filenames are `` and `-`)
error: multiple input filenames provided (first two filenames are `` and `-`)
error: multiple input filenames provided (first two filenames are `` and `-`)
...
Any hints on what I am going wrong or missing?
And thanks for making this available.
The text was updated successfully, but these errors were encountered:
Ah whoops, my latest change to make it support spaces in args broke running it without any args, for now cargo rustdoc-clippy -- -- -Dwarnings will work (and it's sort of necessary to use in order to get a summary of which examples fail at the end anyway). I'll probably push an updated version soon that fixes it.
I wanted to run clippy on code examples in rustdoc and came across your
cargo-rustdoc-clippy
at rust-lang/rust#56232Could you give some guidance on how to install/run it? What I've tried so far:
I installed(??) it and made it executable as follows on macOS Ventura 13.2.1:
It runs but gives errors on each file/example in this repo:
Any hints on what I am going wrong or missing?
And thanks for making this available.
The text was updated successfully, but these errors were encountered: