Describe the problem you are trying to solve
I have RUST_BACKTRACE set globally, because I always want to get backtraces when for example rustc or my own program panics. However I don't need any backtraces for simple errors, like for running rustup component add rls --toolchain nightly when rls is not available for the latest nightly.
Describe the solution you'd like
Don't show baktraces for erros when RUST_BACKTRACE is set. Maybe use RUSTUP_BACKTRACE instead or RUST_LOG=err.
Notes
Describe the problem you are trying to solve
I have
RUST_BACKTRACEset globally, because I always want to get backtraces when for example rustc or my own program panics. However I don't need any backtraces for simple errors, like for runningrustup component add rls --toolchain nightlywhen rls is not available for the latest nightly.Describe the solution you'd like
Don't show baktraces for erros when
RUST_BACKTRACEis set. Maybe useRUSTUP_BACKTRACEinstead orRUST_LOG=err.Notes