Skip to content

Bump version of clippy_dummy #4301

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

Merged
merged 1 commit into from
Jul 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clippy_dummy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy_dummy" # rename to clippy before publishing
version = "0.0.302"
version = "0.0.303"
authors = ["Manish Goregaokar <[email protected]>"]
edition = "2018"
readme = "crates-readme.md"
Expand Down
4 changes: 2 additions & 2 deletions clippy_dummy/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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(|_| ())?;
Expand Down
2 changes: 1 addition & 1 deletion clippy_dummy/crates-readme.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down