Arg::to_string panics #5627
Labels
A-builder
Area: Builder API
C-bug
Category: Updating dependencies
S-waiting-on-decision
Status: Waiting on a go/no-go before implementing
Please complete the following tasks
Rust Version
1.79.0
Clap Version
4.5.13
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
its panicking with
thread 'main' panicked at /Users/crowlkats/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_builder-4.5.13/src/builder/arg.rs:4001:29
which is
clap/clap_builder/src/builder/arg.rs
Line 4024 in edcaf8f
Expected Behaviour
shouldn't panic
Additional Context
Am trying to get the arg usage representation to do a basic JSON output.
Debug Output
No response
The text was updated successfully, but these errors were encountered: