Skip to content

Commit 8fe90e4

Browse files
committed
Publish preparation
1 parent 91986fa commit 8fe90e4

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to this project will be documented in this file.
33

44
## 0.0.207
5-
* Rustup to *rustc 1.28.0-nightly (4ecf12bf0 2018-06-02)*
5+
* Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
66

77
## 0.0.206
88
* Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
@@ -667,6 +667,8 @@ All notable changes to this project will be documented in this file.
667667
[`float_arithmetic`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#float_arithmetic
668668
[`float_cmp`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#float_cmp
669669
[`float_cmp_const`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#float_cmp_const
670+
[`fn_to_numeric_cast`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
671+
[`fn_to_numeric_cast_with_truncation`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
670672
[`for_kv_map`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#for_kv_map
671673
[`for_loop_over_option`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#for_loop_over_option
672674
[`for_loop_over_result`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#for_loop_over_result
@@ -745,6 +747,7 @@ All notable changes to this project will be documented in this file.
745747
[`needless_range_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_range_loop
746748
[`needless_return`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_return
747749
[`needless_update`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#needless_update
750+
[`neg_cmp_op_on_partial_ord`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord
748751
[`neg_multiply`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#neg_multiply
749752
[`never_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#never_loop
750753
[`new_ret_no_self`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#new_ret_no_self
@@ -835,6 +838,7 @@ All notable changes to this project will be documented in this file.
835838
[`unnecessary_fold`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unnecessary_fold
836839
[`unnecessary_mut_passed`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
837840
[`unnecessary_operation`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unnecessary_operation
841+
[`unnecessary_unwrap`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unnecessary_unwrap
838842
[`unneeded_field_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unneeded_field_pattern
839843
[`unreadable_literal`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unreadable_literal
840844
[`unsafe_removed_from_name`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unsafe_removed_from_name

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 261 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
10+
[There are 265 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/src/lib.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
505505
booleans::LOGIC_BUG,
506506
booleans::NONMINIMAL_BOOL,
507507
bytecount::NAIVE_BYTECOUNT,
508-
neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD,
509508
collapsible_if::COLLAPSIBLE_IF,
510509
const_static_lifetime::CONST_STATIC_LIFETIME,
511510
copies::IF_SAME_THEN_ELSE,
@@ -624,6 +623,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
624623
needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE,
625624
needless_pass_by_value::NEEDLESS_PASS_BY_VALUE,
626625
needless_update::NEEDLESS_UPDATE,
626+
neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD,
627627
neg_multiply::NEG_MULTIPLY,
628628
new_without_default::NEW_WITHOUT_DEFAULT,
629629
new_without_default::NEW_WITHOUT_DEFAULT_DERIVE,
@@ -674,14 +674,15 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
674674
types::CAST_LOSSLESS,
675675
types::CAST_PTR_ALIGNMENT,
676676
types::CHAR_LIT_AS_U8,
677+
types::FN_TO_NUMERIC_CAST,
678+
types::FN_TO_NUMERIC_CAST_WITH_TRUNCATION,
677679
types::IMPLICIT_HASHER,
678680
types::LET_UNIT_VALUE,
679681
types::OPTION_OPTION,
680682
types::TYPE_COMPLEXITY,
681683
types::UNIT_ARG,
682684
types::UNIT_CMP,
683685
types::UNNECESSARY_CAST,
684-
types::FN_TO_NUMERIC_CAST,
685686
unicode::ZERO_WIDTH_SPACE,
686687
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
687688
unused_io_amount::UNUSED_IO_AMOUNT,
@@ -769,6 +770,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
769770
returns::LET_AND_RETURN,
770771
returns::NEEDLESS_RETURN,
771772
strings::STRING_LIT_AS_BYTES,
773+
types::FN_TO_NUMERIC_CAST,
772774
types::IMPLICIT_HASHER,
773775
types::LET_UNIT_VALUE,
774776
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
@@ -814,6 +816,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
814816
needless_bool::NEEDLESS_BOOL,
815817
needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE,
816818
needless_update::NEEDLESS_UPDATE,
819+
neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD,
817820
no_effect::NO_EFFECT,
818821
no_effect::UNNECESSARY_OPERATION,
819822
overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL,
@@ -840,7 +843,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
840843
types::UNIT_ARG,
841844
types::UNNECESSARY_CAST,
842845
unused_label::UNUSED_LABEL,
843-
unwrap::UNNECESSARY_UNWRAP,
844846
zero_div_zero::ZERO_DIVIDED_BY_ZERO,
845847
]);
846848

@@ -890,6 +892,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
890892
transmute::WRONG_TRANSMUTE,
891893
types::ABSURD_EXTREME_COMPARISONS,
892894
types::CAST_PTR_ALIGNMENT,
895+
types::FN_TO_NUMERIC_CAST_WITH_TRUNCATION,
893896
types::UNIT_CMP,
894897
unicode::ZERO_WIDTH_SPACE,
895898
unused_io_amount::UNUSED_IO_AMOUNT,
@@ -921,6 +924,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
921924
mutex_atomic::MUTEX_INTEGER,
922925
needless_borrow::NEEDLESS_BORROW,
923926
ranges::RANGE_PLUS_ONE,
927+
unwrap::UNNECESSARY_UNWRAP,
924928
]);
925929
}
926930

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 (4ecf12bf0 2018-06-02)
1+
rustc 1.28.0-nightly (2a0062974 2018-06-09)
22
binary: rustc
3-
commit-hash: 4ecf12bf0eb8386626ccdb5f721a7183ccc4eba6
4-
commit-date: 2018-06-02
3+
commit-hash: 2a0062974a5225847fc43d5522c4dc3718173fe5
4+
commit-date: 2018-06-09
55
host: x86_64-unknown-linux-gnu
66
release: 1.28.0-nightly
77
LLVM version: 6.0

0 commit comments

Comments
 (0)