Version bump
This commit is contained in:
parent
946b846fe9
commit
ce229b2025
|
@ -1,6 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## 0.0.206
|
||||||
|
* Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
|
||||||
|
|
||||||
## 0.0.205
|
## 0.0.205
|
||||||
* Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
|
* Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
|
||||||
* Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint
|
* Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint
|
||||||
|
@ -778,6 +781,7 @@ All notable changes to this project will be documented in this file.
|
||||||
[`redundant_closure_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure_call
|
[`redundant_closure_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure_call
|
||||||
[`redundant_field_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_field_names
|
[`redundant_field_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_field_names
|
||||||
[`redundant_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_pattern
|
[`redundant_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_pattern
|
||||||
|
[`ref_in_deref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#ref_in_deref
|
||||||
[`regex_macro`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#regex_macro
|
[`regex_macro`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#regex_macro
|
||||||
[`replace_consts`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#replace_consts
|
[`replace_consts`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#replace_consts
|
||||||
[`result_map_unit_fn`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_map_unit_fn
|
[`result_map_unit_fn`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_map_unit_fn
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "clippy"
|
name = "clippy"
|
||||||
version = "0.0.205"
|
version = "0.0.206"
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
"Andre Bogus <bogusandre@gmail.com>",
|
"Andre Bogus <bogusandre@gmail.com>",
|
||||||
|
@ -37,7 +37,7 @@ path = "src/driver.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
clippy_lints = { version = "0.0.205", path = "clippy_lints" }
|
clippy_lints = { version = "0.0.206", path = "clippy_lints" }
|
||||||
# end automatic update
|
# end automatic update
|
||||||
regex = "1"
|
regex = "1"
|
||||||
semver = "0.9"
|
semver = "0.9"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
|
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
|
||||||
|
|
||||||
[There are 259 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
[There are 260 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
||||||
|
|
||||||
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
|
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "clippy_lints"
|
name = "clippy_lints"
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
version = "0.0.205"
|
version = "0.0.206"
|
||||||
# end automatic update
|
# end automatic update
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
|
|
|
@ -637,6 +637,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
||||||
ranges::RANGE_ZIP_WITH_LEN,
|
ranges::RANGE_ZIP_WITH_LEN,
|
||||||
redundant_field_names::REDUNDANT_FIELD_NAMES,
|
redundant_field_names::REDUNDANT_FIELD_NAMES,
|
||||||
reference::DEREF_ADDROF,
|
reference::DEREF_ADDROF,
|
||||||
|
reference::REF_IN_DEREF,
|
||||||
regex::INVALID_REGEX,
|
regex::INVALID_REGEX,
|
||||||
regex::REGEX_MACRO,
|
regex::REGEX_MACRO,
|
||||||
regex::TRIVIAL_REGEX,
|
regex::TRIVIAL_REGEX,
|
||||||
|
|
|
@ -4,20 +4,20 @@ use utils::{in_macro, is_range_expression, match_var, span_lint_and_sugg};
|
||||||
|
|
||||||
/// **What it does:** Checks for fields in struct literals where shorthands
|
/// **What it does:** Checks for fields in struct literals where shorthands
|
||||||
/// could be used.
|
/// could be used.
|
||||||
///
|
///
|
||||||
/// **Why is this bad?** If the field and variable names are the same,
|
/// **Why is this bad?** If the field and variable names are the same,
|
||||||
/// the field name is redundant.
|
/// the field name is redundant.
|
||||||
///
|
///
|
||||||
/// **Known problems:** None.
|
/// **Known problems:** None.
|
||||||
///
|
///
|
||||||
/// **Example:**
|
/// **Example:**
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// let bar: u8 = 123;
|
/// let bar: u8 = 123;
|
||||||
///
|
///
|
||||||
/// struct Foo {
|
/// struct Foo {
|
||||||
/// bar: u8,
|
/// bar: u8,
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// let foo = Foo{ bar: bar }
|
/// let foo = Foo{ bar: bar }
|
||||||
/// ```
|
/// ```
|
||||||
declare_clippy_lint! {
|
declare_clippy_lint! {
|
||||||
|
|
|
@ -365,7 +365,7 @@ where
|
||||||
then {
|
then {
|
||||||
if args.len() == 2 {
|
if args.len() == 2 {
|
||||||
lint_fn(tup_val.span);
|
lint_fn(tup_val.span);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ensure the format str has no options (e.g., width, precision, alignment, etc.)
|
// ensure the format str has no options (e.g., width, precision, alignment, etc.)
|
||||||
// and is just "{}"
|
// and is just "{}"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
rustc 1.28.0-nightly (990d8aa74 2018-05-25)
|
rustc 1.28.0-nightly (5bf68db6e 2018-05-28)
|
||||||
binary: rustc
|
binary: rustc
|
||||||
commit-hash: 990d8aa743b1dda3cc0f68fe09524486261812c6
|
commit-hash: 5bf68db6ecda0dd4788311a41b5c763d35597c96
|
||||||
commit-date: 2018-05-25
|
commit-date: 2018-05-28
|
||||||
host: x86_64-unknown-linux-gnu
|
host: x86_64-unknown-linux-gnu
|
||||||
release: 1.28.0-nightly
|
release: 1.28.0-nightly
|
||||||
LLVM version: 6.0
|
LLVM version: 6.0
|
||||||
|
|
Loading…
Reference in New Issue