rust-lang / cargo-bisect-rustc

Bisects rustc, either nightlies or CI artifacts
https://rust-lang.github.io/cargo-bisect-rustc/
Apache License 2.0
174 stars 55 forks source link

invalid component gives unhelpful "unable to install" error #215

Open matthiaskrgr opened 1 year ago

matthiaskrgr commented 1 year ago

if you pass an invalid --component, cbr will print a rather unhelpful message

            Err(InstallError::NotFound { .. }) => {
                // go back just one day, presumably missing a nightly
                nightly_date = nightly_date.pred();
                eprintln!(
                    "*** unable to install {}. roll back one day and try again...",
                    t
                );

instead of anything about missing components