Version bump
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21fa487..bb1c606 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.
+## 0.0.153
+* Update to *rustc 1.21.0-nightly (8c303ed87 2017-08-20)*
+* New lint: [`use_self`]
+
## 0.0.152
* Update to *rustc 1.21.0-nightly (df511d554 2017-08-14)*
@@ -595,6 +599,7 @@
[`unused_label`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#unused_label
[`unused_lifetimes`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#unused_lifetimes
[`use_debug`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#use_debug
+[`use_self`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#use_self
[`used_underscore_binding`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#used_underscore_binding
[`useless_attribute`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#useless_attribute
[`useless_format`]: https://github.com/rust-lang-nursery/rust-clippy/wiki#useless_format
diff --git a/Cargo.toml b/Cargo.toml
index 237ab4f..6db6ea5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "clippy"
-version = "0.0.152"
+version = "0.0.153"
authors = [
"Manish Goregaokar <manishsmail@gmail.com>",
"Andre Bogus <bogusandre@gmail.com>",
@@ -31,7 +31,7 @@
[dependencies]
# begin automatic update
-clippy_lints = { version = "0.0.152", path = "clippy_lints" }
+clippy_lints = { version = "0.0.153", path = "clippy_lints" }
# end automatic update
cargo_metadata = "0.2"
diff --git a/README.md b/README.md
index b5cc1f0..bad6d01 100644
--- a/README.md
+++ b/README.md
@@ -180,7 +180,7 @@
## Lints
-There are 204 lints included in this crate:
+There are 205 lints included in this crate:
name | default | triggers on
-----------------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------
@@ -372,6 +372,7 @@
[unused_label](https://github.com/rust-lang-nursery/rust-clippy/wiki#unused_label) | warn | unused labels
[unused_lifetimes](https://github.com/rust-lang-nursery/rust-clippy/wiki#unused_lifetimes) | warn | unused lifetimes in function definitions
[use_debug](https://github.com/rust-lang-nursery/rust-clippy/wiki#use_debug) | allow | use of `Debug`-based formatting
+[use_self](https://github.com/rust-lang-nursery/rust-clippy/wiki#use_self) | allow | Unnecessary structure name repetition whereas `Self` is applicable
[used_underscore_binding](https://github.com/rust-lang-nursery/rust-clippy/wiki#used_underscore_binding) | allow | using a binding which is prefixed with an underscore
[useless_attribute](https://github.com/rust-lang-nursery/rust-clippy/wiki#useless_attribute) | warn | use of lint attributes on `extern crate` items
[useless_format](https://github.com/rust-lang-nursery/rust-clippy/wiki#useless_format) | warn | useless use of `format!`
diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml
index e545b13..94094bf 100644
--- a/clippy_lints/Cargo.toml
+++ b/clippy_lints/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "clippy_lints"
# begin automatic update
-version = "0.0.152"
+version = "0.0.153"
# end automatic update
authors = [
"Manish Goregaokar <manishsmail@gmail.com>",
diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs
index a8f1b16..dc1b147 100644
--- a/clippy_lints/src/lib.rs
+++ b/clippy_lints/src/lib.rs
@@ -365,6 +365,7 @@
types::INVALID_UPCAST_COMPARISONS,
unicode::NON_ASCII_LITERAL,
unicode::UNICODE_NOT_NFC,
+ use_self::USE_SELF,
]);
reg.register_lint_group("clippy_internal", vec![