Skip to content

Commit dc69a5c

Browse files
committed
Auto merge of #4301 - flip1995:dummy, r=Manishearth
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! r? @Manishearth could you also publish this after merging? changelog: none
2 parents 5441cf2 + 0fe6003 commit dc69a5c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clippy_dummy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy_dummy" # rename to clippy before publishing
3-
version = "0.0.302"
3+
version = "0.0.303"
44
authors = ["Manish Goregaokar <[email protected]>"]
55
edition = "2018"
66
readme = "crates-readme.md"

clippy_dummy/build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extern crate term;
33
fn main() {
44
if let Err(_) = foo() {
55
eprintln!("error: Clippy is no longer available via crates.io\n");
6-
eprintln!("help: please run `rustup component add clippy-preview` instead");
6+
eprintln!("help: please run `rustup component add clippy` instead");
77
}
88
std::process::exit(1);
99
}
@@ -31,7 +31,7 @@ fn foo() -> Result<(), ()> {
3131
write!(t, "please run `").map_err(|_| ())?;
3232

3333
t.attr(term::Attr::Bold).map_err(|_| ())?;
34-
write!(t, "rustup component add clippy-preview").map_err(|_| ())?;
34+
write!(t, "rustup component add clippy").map_err(|_| ())?;
3535

3636
t.reset().map_err(|_| ())?;
3737
t.fg(term::color::WHITE).map_err(|_| ())?;

clippy_dummy/crates-readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installing clippy via crates.io is deprecated. Please use the following:
22

33
```terminal
4-
rustup component add clippy-preview
4+
rustup component add clippy
55
```
66

77
on a Rust version 1.29 or later. You may need to run `rustup self update` if it complains about a missing clippy binary.

0 commit comments

Comments
 (0)