mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

warning: use of deprecated associated function `clap_complete::Shell::possible_values`: Replaced with `EnumValueParser`

Open elasticdotventures opened this issue 3 years ago • 2 comments

this issue is to reference an imminent incoming pull request.

  --> src/main.rs:88:49
   |
88 |                         .possible_values(Shell::possible_values())
   |                                                 ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

elasticdotventures avatar Jun 20 '22 22:06 elasticdotventures

note: this warning perhaps only appears on nightly edition2021

elasticdotventures avatar Jun 20 '22 23:06 elasticdotventures

this happens on stable too. i got it when running

cargo install --git 'https://github.com/rust-lang/mdBook.git' mdbook

averms avatar Nov 19 '22 23:11 averms