fails to compile clap 2.33.3 -- 'if' is not allowed in a 'const fn'
#2734
Labels
C-bug
Category: Updating dependencies
'if' is not allowed in a 'const fn'
#2734
Please complete the following tasks
Rust Version
1.42.1
Specifically
rustc
version1.41.1
andcargo
version1.42.1
.Clap Version
2.33.3
Minimal reproducible code
src/main.rs
Cargo.toml
Steps to reproduce the bug with the above code
cargo build
Actual Behaviour
Expected Behaviour
Additional Context
Run on Debian 9 Linux.
Debug Output
No difference in
cargo build
output.The text was updated successfully, but these errors were encountered: