Skip to content

cargo bash-completion ignores +toolchain arg #4532

@Rudxain

Description

@Rudxain

Verification

Problem

If I type cargo +nightly run -- TAB in a project with MSRV, it starts downloading the MSRV, instead of using nightly as I explicitly specified

Steps

See summary

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.28.2 (e4f3ad6f8 2025-04-28)

Installed toolchains

Default host: x86_64-unknown-linux-gnu
rustup home:  /home/rudxain/.rustup

installed toolchains
--------------------
nightly-x86_64-unknown-linux-gnu (active, default)
1.82.0-x86_64-unknown-linux-gnu

active toolchain
----------------
name: nightly-x86_64-unknown-linux-gnu
active because: it's the default toolchain
installed targets:
  x86_64-unknown-linux-gnu

OS version

Debian Testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions