diff options
| author | flip1995 <hello@philkrones.com> | 2019-07-26 21:01:18 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2019-07-26 21:01:18 +0200 |
| commit | 0fe6003dffaf759b25a2036ff11afaa705cf1bb2 (patch) | |
| tree | e1ee21e11cc74ae5241800efddc431a5b38fc2d4 | |
| parent | f8e04ff3974f62997a7b73c2f39b726202b5a0dd (diff) | |
| download | rust-0fe6003dffaf759b25a2036ff11afaa705cf1bb2.tar.gz rust-0fe6003dffaf759b25a2036ff11afaa705cf1bb2.zip | |
Bump version of clippy_dummy
The crates.io page of clippy still suggest to install `clippy-preview` instead of `clippy` I think it's time to change this. Thanks to the Stuttgart Meetup for discovering this!
| -rw-r--r-- | clippy_dummy/Cargo.toml | 2 | ||||
| -rw-r--r-- | clippy_dummy/build.rs | 4 | ||||
| -rw-r--r-- | clippy_dummy/crates-readme.md | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/clippy_dummy/Cargo.toml b/clippy_dummy/Cargo.toml index f99a23d93d0..fb426a4ad2d 100644 --- a/clippy_dummy/Cargo.toml +++ b/clippy_dummy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy_dummy" # rename to clippy before publishing -version = "0.0.302" +version = "0.0.303" authors = ["Manish Goregaokar <manishsmail@gmail.com>"] edition = "2018" readme = "crates-readme.md" diff --git a/clippy_dummy/build.rs b/clippy_dummy/build.rs index 59d32e5db43..1288250daaa 100644 --- a/clippy_dummy/build.rs +++ b/clippy_dummy/build.rs @@ -3,7 +3,7 @@ extern crate term; fn main() { if let Err(_) = foo() { eprintln!("error: Clippy is no longer available via crates.io\n"); - eprintln!("help: please run `rustup component add clippy-preview` instead"); + eprintln!("help: please run `rustup component add clippy` instead"); } std::process::exit(1); } @@ -31,7 +31,7 @@ fn foo() -> Result<(), ()> { write!(t, "please run `").map_err(|_| ())?; t.attr(term::Attr::Bold).map_err(|_| ())?; - write!(t, "rustup component add clippy-preview").map_err(|_| ())?; + write!(t, "rustup component add clippy").map_err(|_| ())?; t.reset().map_err(|_| ())?; t.fg(term::color::WHITE).map_err(|_| ())?; diff --git a/clippy_dummy/crates-readme.md b/clippy_dummy/crates-readme.md index 4f4f4991ed4..0decae8b910 100644 --- a/clippy_dummy/crates-readme.md +++ b/clippy_dummy/crates-readme.md @@ -1,7 +1,7 @@ Installing clippy via crates.io is deprecated. Please use the following: ```terminal -rustup component add clippy-preview +rustup component add clippy ``` on a Rust version 1.29 or later. You may need to run `rustup self update` if it complains about a missing clippy binary. |
