Closed
Description
Currently, we have to invoke the following to run specific unit tests:
./x.py test compiler/rustc_data_structures/ --test-args thin_vec
This isn't straightforward, it'd be great if we could do with:
./x.py test compiler/rustc_data_structures/src/thin_vec/tests.rs
But unfortunately, it fails currently:
thread 'main' panicked at 'error: no rules matched compiler/rustc_data_structures/src/thin_vec/tests.rs', src/bootstrap/builder.rs:225:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
meta
This happens on b17d9c1.
(This was originally reported on rust-lang/rustc-dev-guide#1138)