Version bump
This commit is contained in:
committed by
Mateusz Mikuła
parent
45bab501e1
commit
8625cfb988
@@ -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.208
|
||||||
|
* Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)*
|
||||||
|
|
||||||
## 0.0.207
|
## 0.0.207
|
||||||
* Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
|
* Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
|
||||||
|
|
||||||
@@ -643,6 +646,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
[`drop_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_copy
|
[`drop_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_copy
|
||||||
[`drop_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_ref
|
[`drop_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#drop_ref
|
||||||
[`duplicate_underscore_argument`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
|
[`duplicate_underscore_argument`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
|
||||||
|
[`duration_subsec`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#duration_subsec
|
||||||
[`else_if_without_else`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#else_if_without_else
|
[`else_if_without_else`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#else_if_without_else
|
||||||
[`empty_enum`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_enum
|
[`empty_enum`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_enum
|
||||||
[`empty_line_after_outer_attr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
|
[`empty_line_after_outer_attr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
|
||||||
@@ -654,6 +658,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
[`erasing_op`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#erasing_op
|
[`erasing_op`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#erasing_op
|
||||||
[`eval_order_dependence`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#eval_order_dependence
|
[`eval_order_dependence`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#eval_order_dependence
|
||||||
[`excessive_precision`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#excessive_precision
|
[`excessive_precision`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#excessive_precision
|
||||||
|
[`expect_fun_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expect_fun_call
|
||||||
[`expl_impl_clone_on_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
|
[`expl_impl_clone_on_copy`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
|
||||||
[`explicit_counter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_counter_loop
|
[`explicit_counter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_counter_loop
|
||||||
[`explicit_into_iter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
|
[`explicit_into_iter_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
|
||||||
@@ -829,6 +834,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
[`transmute_ptr_to_ptr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
[`transmute_ptr_to_ptr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
||||||
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
|
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
|
||||||
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
|
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
|
||||||
|
[`trivially_copy_pass_by_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
|
||||||
[`type_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#type_complexity
|
[`type_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#type_complexity
|
||||||
[`unicode_not_nfc`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unicode_not_nfc
|
[`unicode_not_nfc`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unicode_not_nfc
|
||||||
[`unimplemented`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unimplemented
|
[`unimplemented`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unimplemented
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ cargo-features = ["edition"]
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "clippy"
|
name = "clippy"
|
||||||
version = "0.0.207"
|
version = "0.0.208"
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
"Andre Bogus <bogusandre@gmail.com>",
|
"Andre Bogus <bogusandre@gmail.com>",
|
||||||
@@ -40,7 +40,7 @@ path = "src/driver.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
clippy_lints = { version = "0.0.207", path = "clippy_lints" }
|
clippy_lints = { version = "0.0.208", 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 265 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
[There are 268 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:
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ cargo-features = ["edition"]
|
|||||||
[package]
|
[package]
|
||||||
name = "clippy_lints"
|
name = "clippy_lints"
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
version = "0.0.207"
|
version = "0.0.208"
|
||||||
# end automatic update
|
# end automatic update
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
|
|||||||
@@ -591,6 +591,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
methods::CHARS_NEXT_CMP,
|
methods::CHARS_NEXT_CMP,
|
||||||
methods::CLONE_DOUBLE_REF,
|
methods::CLONE_DOUBLE_REF,
|
||||||
methods::CLONE_ON_COPY,
|
methods::CLONE_ON_COPY,
|
||||||
|
methods::EXPECT_FUN_CALL,
|
||||||
methods::FILTER_NEXT,
|
methods::FILTER_NEXT,
|
||||||
methods::GET_UNWRAP,
|
methods::GET_UNWRAP,
|
||||||
methods::ITER_CLONED_COLLECT,
|
methods::ITER_CLONED_COLLECT,
|
||||||
@@ -600,7 +601,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
methods::OK_EXPECT,
|
methods::OK_EXPECT,
|
||||||
methods::OPTION_MAP_OR_NONE,
|
methods::OPTION_MAP_OR_NONE,
|
||||||
methods::OR_FUN_CALL,
|
methods::OR_FUN_CALL,
|
||||||
methods::EXPECT_FUN_CALL,
|
|
||||||
methods::SEARCH_IS_SOME,
|
methods::SEARCH_IS_SOME,
|
||||||
methods::SHOULD_IMPLEMENT_TRAIT,
|
methods::SHOULD_IMPLEMENT_TRAIT,
|
||||||
methods::SINGLE_CHAR_PATTERN,
|
methods::SINGLE_CHAR_PATTERN,
|
||||||
@@ -916,9 +916,9 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
large_enum_variant::LARGE_ENUM_VARIANT,
|
large_enum_variant::LARGE_ENUM_VARIANT,
|
||||||
loops::MANUAL_MEMCPY,
|
loops::MANUAL_MEMCPY,
|
||||||
loops::UNUSED_COLLECT,
|
loops::UNUSED_COLLECT,
|
||||||
|
methods::EXPECT_FUN_CALL,
|
||||||
methods::ITER_NTH,
|
methods::ITER_NTH,
|
||||||
methods::OR_FUN_CALL,
|
methods::OR_FUN_CALL,
|
||||||
methods::EXPECT_FUN_CALL,
|
|
||||||
methods::SINGLE_CHAR_PATTERN,
|
methods::SINGLE_CHAR_PATTERN,
|
||||||
misc::CMP_OWNED,
|
misc::CMP_OWNED,
|
||||||
mutex_atomic::MUTEX_ATOMIC,
|
mutex_atomic::MUTEX_ATOMIC,
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ impl EarlyLintPass for UnsafeNameRemoval {
|
|||||||
|
|
||||||
fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
|
fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
|
||||||
match use_tree.kind {
|
match use_tree.kind {
|
||||||
UseTreeKind::Simple(Some(new_name)) => {
|
UseTreeKind::Simple(Some(new_name), ..) => {
|
||||||
let old_name = use_tree
|
let old_name = use_tree
|
||||||
.prefix
|
.prefix
|
||||||
.segments
|
.segments
|
||||||
@@ -52,7 +52,7 @@ fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: Span) {
|
|||||||
.ident;
|
.ident;
|
||||||
unsafe_to_safe_check(old_name, new_name, cx, span);
|
unsafe_to_safe_check(old_name, new_name, cx, span);
|
||||||
}
|
}
|
||||||
UseTreeKind::Simple(None) |
|
UseTreeKind::Simple(None, ..) |
|
||||||
UseTreeKind::Glob => {},
|
UseTreeKind::Glob => {},
|
||||||
UseTreeKind::Nested(ref nested_use_tree) => {
|
UseTreeKind::Nested(ref nested_use_tree) => {
|
||||||
for &(ref use_tree, _) in nested_use_tree {
|
for &(ref use_tree, _) in nested_use_tree {
|
||||||
|
|||||||
Reference in New Issue
Block a user