Skip to content

Commit ce229b2

Browse files
committed
Version bump
1 parent 946b846 commit ce229b2

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.206
5+
* Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
6+
47
## 0.0.205
58
* Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
69
* 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.
778781
[`redundant_closure_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure_call
779782
[`redundant_field_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_field_names
780783
[`redundant_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_pattern
784+
[`ref_in_deref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#ref_in_deref
781785
[`regex_macro`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#regex_macro
782786
[`replace_consts`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#replace_consts
783787
[`result_map_unit_fn`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_map_unit_fn

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.205"
3+
version = "0.0.206"
44
authors = [
55
"Manish Goregaokar <manishsmail@gmail.com>",
66
"Andre Bogus <bogusandre@gmail.com>",
@@ -37,7 +37,7 @@ path = "src/driver.rs"
3737

3838
[dependencies]
3939
# begin automatic update
40-
clippy_lints = { version = "0.0.205", path = "clippy_lints" }
40+
clippy_lints = { version = "0.0.206", path = "clippy_lints" }
4141
# end automatic update
4242
regex = "1"
4343
semver = "0.9"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
99

10-
[There are 259 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
10+
[There are 260 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
1111

1212
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
1313

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_lints"
33
# begin automatic update
4-
version = "0.0.205"
4+
version = "0.0.206"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <manishsmail@gmail.com>",

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
637637
ranges::RANGE_ZIP_WITH_LEN,
638638
redundant_field_names::REDUNDANT_FIELD_NAMES,
639639
reference::DEREF_ADDROF,
640+
reference::REF_IN_DEREF,
640641
regex::INVALID_REGEX,
641642
regex::REGEX_MACRO,
642643
regex::TRIVIAL_REGEX,

clippy_lints/src/redundant_field_names.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ use utils::{in_macro, is_range_expression, match_var, span_lint_and_sugg};
44

55
/// **What it does:** Checks for fields in struct literals where shorthands
66
/// could be used.
7-
///
7+
///
88
/// **Why is this bad?** If the field and variable names are the same,
99
/// the field name is redundant.
10-
///
10+
///
1111
/// **Known problems:** None.
12-
///
12+
///
1313
/// **Example:**
1414
/// ```rust
1515
/// let bar: u8 = 123;
16-
///
16+
///
1717
/// struct Foo {
1818
/// bar: u8,
1919
/// }
20-
///
20+
///
2121
/// let foo = Foo{ bar: bar }
2222
/// ```
2323
declare_clippy_lint! {

clippy_lints/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ where
365365
then {
366366
if args.len() == 2 {
367367
lint_fn(tup_val.span);
368-
}
368+
}
369369

370370
// ensure the format str has no options (e.g., width, precision, alignment, etc.)
371371
// and is just "{}"

min_version.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
rustc 1.28.0-nightly (990d8aa74 2018-05-25)
1+
rustc 1.28.0-nightly (5bf68db6e 2018-05-28)
22
binary: rustc
3-
commit-hash: 990d8aa743b1dda3cc0f68fe09524486261812c6
4-
commit-date: 2018-05-25
3+
commit-hash: 5bf68db6ecda0dd4788311a41b5c763d35597c96
4+
commit-date: 2018-05-28
55
host: x86_64-unknown-linux-gnu
66
release: 1.28.0-nightly
77
LLVM version: 6.0

0 commit comments

Comments
 (0)