From bc602df324c3c52ea112a3d1d3f107fcce9a8981 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 5 Sep 2017 09:45:14 -0700 Subject: [PATCH] Update changelog --- CHANGELOG.md | 4 ++++ clippy_lints/src/lib.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3eea80fe..10bcd9e4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change Log All notable changes to this project will be documented in this file. +## Upcoming +* New lint: [`manual_memcpy`] + ## 0.0.157 - 2017-09-04 * Update to *rustc 1.22.0-nightly (981ce7d8d 2017-09-03)* * New lint: [`unit_expr`] @@ -511,6 +514,7 @@ All notable changes to this project will be documented in this file. [`let_unit_value`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#let_unit_value [`linkedlist`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#linkedlist [`logic_bug`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#logic_bug +[`manual_memcpy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#manual_memcpy [`manual_swap`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#manual_swap [`many_single_char_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#many_single_char_names [`map_clone`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#map_clone diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 41ca62b47..a9e5310dd 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -444,6 +444,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) { loops::FOR_LOOP_OVER_OPTION, loops::FOR_LOOP_OVER_RESULT, loops::ITER_NEXT_LOOP, + loops::MANUAL_MEMCPY, loops::NEEDLESS_RANGE_LOOP, loops::NEVER_LOOP, loops::REVERSE_RANGE_LOOP,