All notable changes to this project will be documented in this file.
- Rustup to rustc 1.17.0-nightly (134c4a0f0 2017-03-20)
- Rustup to rustc 1.17.0-nightly (0aeb9c129 2017-03-15)
- Rustup to rustc 1.17.0-nightly (824c9ebbd 2017-03-12)
- Rustup to rustc 1.17.0-nightly (b1e31766d 2017-03-03)
- Rustup to rustc 1.17.0-nightly (be760566c 2017-02-28)
- Fix
cargo clippy
on 64 bit windows systems
- Rustup to rustc 1.17.0-nightly (60a0edc6c 2017-02-26)
- New lints:
zero_ptr
,never_loop
,mut_from_ref
- Rustup to rustc 1.17.0-nightly (c49d10207 2017-02-07)
- Tests are now ui tests (testing the exact output of rustc)
- Rustup to rustc 1.16.0-nightly (eedaa94e3 2017-02-02)
- New lint:
large_enum_variant
explicit_into_iter_loop
provides suggestions
- Rustup to rustc 1.16.0-nightly (df8debf6d 2017-01-25)
- Rustup to rustc 1.16.0-nightly (a52da95ce 2017-01-20)
- Add badges and categories to
Cargo.toml
- Update to rustc 1.16.0-nightly (c07a6ae77 2017-01-17)
- Update to rustc 1.16.0-nightly (2782e8f8f 2017-01-12)
- Update regex dependency
- Fix FP when matching
&&mut
by&ref
- Reintroduce
for (_, x) in &mut hash_map
->for x in hash_map.values_mut()
- New lints:
unused_io_amount
,forget_ref
,short_circuit_statement
- Fix FP introduced by rustup in
wrong_self_convention
- Update to rustc 1.16.0-nightly (468227129 2017-01-03)
- New lints:
deref_addrof
,double_parens
,pub_enum_variant_names
- Fix suggestion in
new_without_default
- FP fix in
absurd_extreme_comparisons
- Update to rustc 1.15.0-nightly (8f02c429a 2016-12-15)
- Update to rustc 1.15.0-nightly (d5814b03e 2016-11-23)
- Update to rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)
- Update to rustc 1.15.0-nightly (7b3eeea22 2016-11-21)
- New lint:
string_extend_chars
- Update to rustc 1.15.0-nightly (ac635aa95 2016-11-18)
- Update to rustc 1.15.0-nightly (0ed951993 2016-11-14)
- New lint:
get_unwrap
- Fixes an issue due to a change in how cargo handles
--sysroot
, which brokecargo clippy
- For convenience,
cargo clippy
defines acargo-clippy
feature. This was previously added for a short time under the nameclippy
but removed for compatibility. cargo clippy --help
is more helping (and less helpful 😄)- Rustup to rustc 1.14.0-nightly (5665bdf3e 2016-11-02)
- New lints:
if_let_redundant_pattern_matching
,partialeq_ne_impl
- Rustup to rustc 1.14.0-nightly (f09420685 2016-10-20)
- New lint:
iter_skip_next
- Rustup to rustc 1.14.0-nightly (3210fd5c2 2016-10-05)
- Fixes bustage on Windows due to forbidden directory name
- Rustup to rustc 1.14.0-nightly (144af3e97 2016-10-02)
option_map_unwrap_or
andoption_map_unwrap_or_else
are now allowed by default.- New lint:
explicit_into_iter_loop
- Rustup to rustc 1.14.0-nightly (289f3a4ca 2016-09-29)
- Rustup to rustc 1.13.0-nightly (d0623cf7b 2016-09-26)
- Rustup to rustc 1.13.0-nightly (f1f40f850 2016-09-09)
- Rustup to rustc 1.13.0-nightly (cbe4de78e 2016-09-05)
- Rustup to rustc 1.13.0-nightly (70598e04f 2016-09-03)
- The following lints are not new but were only usable through the
clippy
lint groups:filter_next
,for_loop_over_option
,for_loop_over_result
andmatch_overlapping_arm
. You should now be able to#[allow/deny]
them individually and they are available directly through [cargo clippy
].
- Rustup to rustc 1.13.0-nightly (eac41469d 2016-08-30)
- New lints:
builtin_type_shadow
- Fix FP in
zero_prefixed_literal
and0b
/0o
- Rustup to rustc 1.13.0-nightly (a23064af5 2016-08-27)
- New lints:
missing_docs_in_private_items
,zero_prefixed_literal
- Fix ICE with
useless_attribute
useless_attribute
ignores [unused_imports
] onuse
statements
- Rustup to rustc 1.13.0-nightly (aef6971ca 2016-08-17)
- Rustup to rustc 1.12.0-nightly (1bf5fa326 2016-08-16)
- New lints:
print_with_newline
,useless_attribute
- Rustup to rustc 1.12.0-nightly (197be89f3 2016-08-15)
- New lint:
module_inception
- Rustup to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)
- New lints:
eval_order_dependence
,mixed_case_hex_literals
,unseparated_literal_suffix
- False positive fix in
too_many_arguments
- Addition of functionality to
needless_borrow
- Suggestions for
clone_on_copy
- Bug fix in
wrong_self_convention
- Doc improvements
- Rustup to rustc 1.12.0-nightly (1225e122f 2016-07-30)
- New lints:
misrefactored_assign_op
,serde_api_misuse
- Rustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09)
- Major suggestions refactoring
- Rustup to rustc 1.11.0-nightly (01411937f 2016-07-01)
- New lints:
wrong_transmute
,double_neg
,filter_map
- For compatibility,
cargo clippy
does not defines theclippy
feature introduced in 0.0.76 anymore collapsible_if
now considersif let
- Rustup to rustc 1.11.0-nightly (7d2f75a95 2016-06-09)
cargo clippy
now automatically defines theclippy
feature- New lint:
not_unsafe_ptr_arg_deref
- Rustup to rustc 1.11.0-nightly (763f9234b 2016-06-06)
- Fix bug with
cargo-clippy
JSON parsing - Add the
CLIPPY_DISABLE_WIKI_LINKS
environment variable to deactivate the “for further information visit wiki-link” message.
- Fix false positives in
useless_let_if_seq
- Fix false positives in
useless_let_if_seq
- Rustup to rustc 1.11.0-nightly (a967611d8 2016-05-30)
- New lint:
useless_let_if_seq
- Rustup to rustc 1.10.0-nightly (7bddce693 2016-05-27)
invalid_regex
andtrivial_regex
can now warn onRegexSet::new
,RegexBuilder::new
and byte regexes
- Rustup to rustc 1.10.0-nightly (476fe6eef 2016-05-21)
used_underscore_binding
has been madeAllow
temporarily
- Rustup to rustc 1.10.0-nightly (cd6a40017 2016-05-16)
- New lint:
unnecessary_operation
- Rustup to rustc 1.10.0-nightly (22ac88f1a 2016-05-11)
- New
cargo clippy
subcommand - New lints:
assign_op_pattern
,assign_ops
,needless_borrow
- Rustup to rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)
- New lints:
float_arithmetic
,integer_arithmetic
- Rustup to rustc 1.10.0-nightly (645dd013a 2016-04-24)
- New lints:
temporary_cstring_as_ptr
,unsafe_removed_from_name
, andmem_forget
- Rustup to rustc 1.9.0-nightly (7979dd608 2016-04-07)
- Rustup to rustc 1.9.0-nightly (bf5da36f1 2016-04-06)
- Rustup to rustc 1.9.0-nightly (5ab11d72c 2016-04-02)
- New lint:
invalid_upcast_comparisons
- Rustup to rustc 1.9.0-nightly (e1195c24b 2016-03-31)
- Rustup to rustc 1.9.0-nightly (30a3849f2 2016-03-30)
- New lints:
logic_bug
,nonminimal_bool
- Fixed:
match_same_arms
now ignores arms with guards - Improved:
useless_vec
now warns onfor … in vec![…]
- Rustup to rustc 1.9.0-nightly (d5a91e695 2016-03-26)
- New lint:
doc_markdown
- Update to rustc 1.9.0-nightly (a1e29daf1 2016-03-25)
- Deprecated lints:
str_to_string
,string_to_string
,unstable_as_slice
,unstable_as_mut_slice
- New lint:
crosspointer_transmute
- Update to rustc 1.9.0-nightly (0dcc413e4 2016-03-22)
- New lints:
many_single_char_names
andsimilar_names
- Update to rustc 1.9.0-nightly (02310fd31 2016-03-19)
- Update to rustc 1.9.0-nightly (c66d2380a 2016-03-15)
- Add a configuration file
- Add
str
to types considered bylen_zero
- New lints:
indexing_slicing
- Update to rustc 1.9.0-nightly (c9629d61c 2016-03-10)
- Update to rustc 1.9.0-nightly (eabfc160f 2016-03-08)
- New lints:
overflow_check_conditional
,unused_label
,new_without_default
- Fixed: ICE in
needless_range_loop
with globals
- Update to rustc 1.9.0-nightly (998a6720b 2016-03-07)
- New lint:
redundant_closure_call