Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings #1086

Closed
durka opened this issue Oct 27, 2017 · 0 comments
Closed

Deprecation warnings #1086

durka opened this issue Oct 27, 2017 · 0 comments

Comments

@durka
Copy link
Contributor

durka commented Oct 27, 2017

When compiling clap from git master, I get a bunch of warnings from within clap:

   Compiling clap v2.27.1 (file:///home/haptics/proton/nri/overrides/clap)
   Compiling nri v0.1.0 (file:///home/haptics/proton/nri)
warning: use of deprecated item: No longer required to propagate values
   --> overrides/clap/src/macros.rs:745:19
    |
745 |                   $($n::$v => self.0.insert($c)),+
    |                     ^^^^^^
    |
   ::: overrides/clap/src/app/settings.rs
    |
69  | /     impl_settings! { AppSettings,
70  | |         ArgRequiredElseHelp => A_REQUIRED_ELSE_HELP,
71  | |         ArgsNegateSubcommands => ARGS_NEGATE_SCS,
72  | |         AllowExternalSubcommands => ALLOW_UNK_SC,
...   |
109 | |         ContainsLast => CONTAINS_LAST
110 | |     }
    | |_____- in this macro invocation
    |
    = note: #[warn(deprecated)] on by default

The rest are included here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant