Lifetime of possible values and PossibleValueParser #4035
Labels
A-builder
Area: Builder API
C-bug
Category: Updating dependencies
M-breaking-change
Meta: Implementing or merging this will introduce a breaking change.
S-blocked
Status: Blocked on something else such as an RFC or other implementation work.
Milestone
Please complete the following tasks
Rust Version
rustc 1.62.1 (e092d0b6b 2022-07-16)
Clap Version
3.2.16
Minimal reproducible code
Steps to reproduce the bug with the above code
I'm trying to build a dynamic command line interface, where possible options are read from a config file. This is currently possible as
.possible_values()
requires'help
lifetime, but the newPossibleValueParser
implementation requires'static
lifetime.Actual Behaviour
N/A
Expected Behaviour
N/A
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: