Open
Description
Summary
calling cargo uitest
when rust-clippy
's path has whitespaces makes all tests fail. for example, if rust-clippy
's path is C:\rust whitespace\rust-clippy
, it will emit the following for every test (test_name
):
error: multiple input filenames provided (first two filenames are `tests\\ui\\test_name.rs` and `whitespace\\rust-clippy\\target\\debug\\deps`
(notice the second path is incomplete and begins right after the whitespace in the full path)
putting rust-clippy
somewhere with no whitespaces on it's path solves the issue (however, a cargo clean
seems to be necessary for it do so, for some reason).
Reproducer
I tried: calling cargo uitest
.
I expected to see this happen: tests run correctly.
Instead, this happened: all tests fail with the aforementioned error as their output.
Version
rustc 1.66.0-nightly (4b8f43199 2022-10-19)
binary: rustc
commit-hash: 4b8f4319954ff2642690b9e5cbe4af352d095bf6
commit-date: 2022-10-19
host: x86_64-pc-windows-msvc
release: 1.66.0-nightly
LLVM version: 15.0.2
Additional Labels
No response