]> git.lizzy.rs Git - rust.git/commitdiff
Bump version of clippy_dummy
authorflip1995 <hello@philkrones.com>
Fri, 26 Jul 2019 19:01:18 +0000 (21:01 +0200)
committerflip1995 <hello@philkrones.com>
Fri, 26 Jul 2019 19:01:18 +0000 (21:01 +0200)
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!

clippy_dummy/Cargo.toml
clippy_dummy/build.rs
clippy_dummy/crates-readme.md

index f99a23d93d0605a73df7e49065657adeded53b63..fb426a4ad2d162cc92fd1a89b32af0216215422a 100644 (file)
@@ -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"
index 59d32e5db4393fd177773d24feb780988a949dcb..1288250daaa65b2f401c0e8916a2fd307550712c 100644 (file)
@@ -3,7 +3,7 @@
 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(|_| ())?;
index 4f4f4991ed451fd50dd3ef994a3308530c6f2287..0decae8b9103d680516a611f740b5d691ad7abba 100644 (file)
@@ -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.