]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
add a companion lint to `no_effect` with suggestions for partially effective statements
[rust.git] / CHANGELOG.md
1 # Change Log
2 All notable changes to this project will be documented in this file.
3
4 ## 0.0.67 — 2016-05-12
5 * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)*
6
7 ## 0.0.66 — 2016-05-11
8 * New `cargo clippy` subcommand
9 * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`]
10
11 ## 0.0.65 — 2016-05-08
12 * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
13 * New lints: [`float_arithmetic`], [`integer_arithmetic`]
14
15 ## 0.0.64 — 2016-04-26
16 * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)*
17 * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`]
18
19 ## 0.0.63 — 2016-04-08
20 * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)*
21
22 ## 0.0.62 — 2016-04-07
23 * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)*
24
25 ## 0.0.61 — 2016-04-03
26 * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)*
27 * New lint: [`invalid_upcast_comparisons`]
28
29 ## 0.0.60 — 2016-04-01
30 * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)*
31
32 ## 0.0.59 — 2016-03-31
33 * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)*
34 * New lints: [`logic_bug`], [`nonminimal_bool`]
35 * Fixed: [`match_same_arms`] now ignores arms with guards
36 * Improved: [`useless_vec`] now warns on `for … in vec![…]`
37
38 ## 0.0.58 — 2016-03-27
39 * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)*
40 * New lint: [`doc_markdown`]
41
42 ## 0.0.57 — 2016-03-27
43 * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)*
44 * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`]
45 * New lint: [`crosspointer_transmute`]
46
47 ## 0.0.56 — 2016-03-23
48 * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)*
49 * New lints: [`many_single_char_names`] and [`similar_names`]
50
51 ## 0.0.55 — 2016-03-21
52 * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)*
53
54 ## 0.0.54 — 2016-03-16
55 * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)*
56
57 ## 0.0.53 — 2016-03-15
58 * Add a [configuration file]
59
60 ## ~~0.0.52~~
61
62 ## 0.0.51 — 2016-03-13
63 * Add `str` to types considered by `len_zero`
64 * New lints: [`indexing_slicing`]
65
66 ## 0.0.50 — 2016-03-11
67 * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)*
68
69 ## 0.0.49 — 2016-03-09
70 * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
71 * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`]
72
73 ## 0.0.48 — 2016-03-07
74 * Fixed: ICE in [`needless_range_loop`] with globals
75
76 ## 0.0.47 — 2016-03-07
77 * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)*
78 * New lint: [`redundant_closure_call`]
79
80 [configuration file]: ./rust-clippy#configuration
81
82 <!-- begin autogenerated links to wiki -->
83 [`absurd_extreme_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#absurd_extreme_comparisons
84 [`almost_swapped`]: https://github.com/Manishearth/rust-clippy/wiki#almost_swapped
85 [`approx_constant`]: https://github.com/Manishearth/rust-clippy/wiki#approx_constant
86 [`assign_op_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#assign_op_pattern
87 [`assign_ops`]: https://github.com/Manishearth/rust-clippy/wiki#assign_ops
88 [`bad_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#bad_bit_mask
89 [`blacklisted_name`]: https://github.com/Manishearth/rust-clippy/wiki#blacklisted_name
90 [`block_in_if_condition_expr`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_expr
91 [`block_in_if_condition_stmt`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_stmt
92 [`bool_comparison`]: https://github.com/Manishearth/rust-clippy/wiki#bool_comparison
93 [`box_vec`]: https://github.com/Manishearth/rust-clippy/wiki#box_vec
94 [`boxed_local`]: https://github.com/Manishearth/rust-clippy/wiki#boxed_local
95 [`cast_possible_truncation`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_truncation
96 [`cast_possible_wrap`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_wrap
97 [`cast_precision_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_precision_loss
98 [`cast_sign_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_sign_loss
99 [`char_lit_as_u8`]: https://github.com/Manishearth/rust-clippy/wiki#char_lit_as_u8
100 [`chars_next_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#chars_next_cmp
101 [`clone_double_ref`]: https://github.com/Manishearth/rust-clippy/wiki#clone_double_ref
102 [`clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#clone_on_copy
103 [`cmp_nan`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_nan
104 [`cmp_owned`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_owned
105 [`collapsible_if`]: https://github.com/Manishearth/rust-clippy/wiki#collapsible_if
106 [`crosspointer_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#crosspointer_transmute
107 [`cyclomatic_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#cyclomatic_complexity
108 [`deprecated_semver`]: https://github.com/Manishearth/rust-clippy/wiki#deprecated_semver
109 [`derive_hash_xor_eq`]: https://github.com/Manishearth/rust-clippy/wiki#derive_hash_xor_eq
110 [`doc_markdown`]: https://github.com/Manishearth/rust-clippy/wiki#doc_markdown
111 [`drop_ref`]: https://github.com/Manishearth/rust-clippy/wiki#drop_ref
112 [`duplicate_underscore_argument`]: https://github.com/Manishearth/rust-clippy/wiki#duplicate_underscore_argument
113 [`empty_loop`]: https://github.com/Manishearth/rust-clippy/wiki#empty_loop
114 [`enum_clike_unportable_variant`]: https://github.com/Manishearth/rust-clippy/wiki#enum_clike_unportable_variant
115 [`enum_glob_use`]: https://github.com/Manishearth/rust-clippy/wiki#enum_glob_use
116 [`enum_variant_names`]: https://github.com/Manishearth/rust-clippy/wiki#enum_variant_names
117 [`eq_op`]: https://github.com/Manishearth/rust-clippy/wiki#eq_op
118 [`expl_impl_clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#expl_impl_clone_on_copy
119 [`explicit_counter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_counter_loop
120 [`explicit_iter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_iter_loop
121 [`extend_from_slice`]: https://github.com/Manishearth/rust-clippy/wiki#extend_from_slice
122 [`filter_next`]: https://github.com/Manishearth/rust-clippy/wiki#filter_next
123 [`float_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#float_arithmetic
124 [`float_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#float_cmp
125 [`for_kv_map`]: https://github.com/Manishearth/rust-clippy/wiki#for_kv_map
126 [`for_loop_over_option`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_option
127 [`for_loop_over_result`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_result
128 [`identity_op`]: https://github.com/Manishearth/rust-clippy/wiki#identity_op
129 [`if_not_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_not_else
130 [`if_same_then_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_same_then_else
131 [`ifs_same_cond`]: https://github.com/Manishearth/rust-clippy/wiki#ifs_same_cond
132 [`indexing_slicing`]: https://github.com/Manishearth/rust-clippy/wiki#indexing_slicing
133 [`ineffective_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#ineffective_bit_mask
134 [`inline_always`]: https://github.com/Manishearth/rust-clippy/wiki#inline_always
135 [`integer_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#integer_arithmetic
136 [`invalid_regex`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_regex
137 [`invalid_upcast_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_upcast_comparisons
138 [`items_after_statements`]: https://github.com/Manishearth/rust-clippy/wiki#items_after_statements
139 [`iter_next_loop`]: https://github.com/Manishearth/rust-clippy/wiki#iter_next_loop
140 [`len_without_is_empty`]: https://github.com/Manishearth/rust-clippy/wiki#len_without_is_empty
141 [`len_zero`]: https://github.com/Manishearth/rust-clippy/wiki#len_zero
142 [`let_and_return`]: https://github.com/Manishearth/rust-clippy/wiki#let_and_return
143 [`let_unit_value`]: https://github.com/Manishearth/rust-clippy/wiki#let_unit_value
144 [`linkedlist`]: https://github.com/Manishearth/rust-clippy/wiki#linkedlist
145 [`logic_bug`]: https://github.com/Manishearth/rust-clippy/wiki#logic_bug
146 [`manual_swap`]: https://github.com/Manishearth/rust-clippy/wiki#manual_swap
147 [`many_single_char_names`]: https://github.com/Manishearth/rust-clippy/wiki#many_single_char_names
148 [`map_clone`]: https://github.com/Manishearth/rust-clippy/wiki#map_clone
149 [`map_entry`]: https://github.com/Manishearth/rust-clippy/wiki#map_entry
150 [`match_bool`]: https://github.com/Manishearth/rust-clippy/wiki#match_bool
151 [`match_overlapping_arm`]: https://github.com/Manishearth/rust-clippy/wiki#match_overlapping_arm
152 [`match_ref_pats`]: https://github.com/Manishearth/rust-clippy/wiki#match_ref_pats
153 [`match_same_arms`]: https://github.com/Manishearth/rust-clippy/wiki#match_same_arms
154 [`mem_forget`]: https://github.com/Manishearth/rust-clippy/wiki#mem_forget
155 [`min_max`]: https://github.com/Manishearth/rust-clippy/wiki#min_max
156 [`modulo_one`]: https://github.com/Manishearth/rust-clippy/wiki#modulo_one
157 [`mut_mut`]: https://github.com/Manishearth/rust-clippy/wiki#mut_mut
158 [`mutex_atomic`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_atomic
159 [`mutex_integer`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_integer
160 [`needless_bool`]: https://github.com/Manishearth/rust-clippy/wiki#needless_bool
161 [`needless_borrow`]: https://github.com/Manishearth/rust-clippy/wiki#needless_borrow
162 [`needless_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#needless_lifetimes
163 [`needless_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#needless_range_loop
164 [`needless_return`]: https://github.com/Manishearth/rust-clippy/wiki#needless_return
165 [`needless_update`]: https://github.com/Manishearth/rust-clippy/wiki#needless_update
166 [`neg_multiply`]: https://github.com/Manishearth/rust-clippy/wiki#neg_multiply
167 [`new_ret_no_self`]: https://github.com/Manishearth/rust-clippy/wiki#new_ret_no_self
168 [`new_without_default`]: https://github.com/Manishearth/rust-clippy/wiki#new_without_default
169 [`no_effect`]: https://github.com/Manishearth/rust-clippy/wiki#no_effect
170 [`non_ascii_literal`]: https://github.com/Manishearth/rust-clippy/wiki#non_ascii_literal
171 [`nonminimal_bool`]: https://github.com/Manishearth/rust-clippy/wiki#nonminimal_bool
172 [`nonsensical_open_options`]: https://github.com/Manishearth/rust-clippy/wiki#nonsensical_open_options
173 [`ok_expect`]: https://github.com/Manishearth/rust-clippy/wiki#ok_expect
174 [`option_map_unwrap_or`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or
175 [`option_map_unwrap_or_else`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or_else
176 [`option_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#option_unwrap_used
177 [`or_fun_call`]: https://github.com/Manishearth/rust-clippy/wiki#or_fun_call
178 [`out_of_bounds_indexing`]: https://github.com/Manishearth/rust-clippy/wiki#out_of_bounds_indexing
179 [`overflow_check_conditional`]: https://github.com/Manishearth/rust-clippy/wiki#overflow_check_conditional
180 [`panic_params`]: https://github.com/Manishearth/rust-clippy/wiki#panic_params
181 [`precedence`]: https://github.com/Manishearth/rust-clippy/wiki#precedence
182 [`print_stdout`]: https://github.com/Manishearth/rust-clippy/wiki#print_stdout
183 [`ptr_arg`]: https://github.com/Manishearth/rust-clippy/wiki#ptr_arg
184 [`range_step_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#range_step_by_zero
185 [`range_zip_with_len`]: https://github.com/Manishearth/rust-clippy/wiki#range_zip_with_len
186 [`redundant_closure`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure
187 [`redundant_closure_call`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure_call
188 [`redundant_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_pattern
189 [`regex_macro`]: https://github.com/Manishearth/rust-clippy/wiki#regex_macro
190 [`result_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#result_unwrap_used
191 [`reverse_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#reverse_range_loop
192 [`search_is_some`]: https://github.com/Manishearth/rust-clippy/wiki#search_is_some
193 [`shadow_reuse`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_reuse
194 [`shadow_same`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_same
195 [`shadow_unrelated`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_unrelated
196 [`should_implement_trait`]: https://github.com/Manishearth/rust-clippy/wiki#should_implement_trait
197 [`similar_names`]: https://github.com/Manishearth/rust-clippy/wiki#similar_names
198 [`single_char_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#single_char_pattern
199 [`single_match`]: https://github.com/Manishearth/rust-clippy/wiki#single_match
200 [`single_match_else`]: https://github.com/Manishearth/rust-clippy/wiki#single_match_else
201 [`str_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#str_to_string
202 [`string_add`]: https://github.com/Manishearth/rust-clippy/wiki#string_add
203 [`string_add_assign`]: https://github.com/Manishearth/rust-clippy/wiki#string_add_assign
204 [`string_lit_as_bytes`]: https://github.com/Manishearth/rust-clippy/wiki#string_lit_as_bytes
205 [`string_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#string_to_string
206 [`suspicious_assignment_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_assignment_formatting
207 [`suspicious_else_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_else_formatting
208 [`temporary_assignment`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_assignment
209 [`temporary_cstring_as_ptr`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_cstring_as_ptr
210 [`too_many_arguments`]: https://github.com/Manishearth/rust-clippy/wiki#too_many_arguments
211 [`toplevel_ref_arg`]: https://github.com/Manishearth/rust-clippy/wiki#toplevel_ref_arg
212 [`transmute_ptr_to_ref`]: https://github.com/Manishearth/rust-clippy/wiki#transmute_ptr_to_ref
213 [`trivial_regex`]: https://github.com/Manishearth/rust-clippy/wiki#trivial_regex
214 [`type_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#type_complexity
215 [`unicode_not_nfc`]: https://github.com/Manishearth/rust-clippy/wiki#unicode_not_nfc
216 [`unit_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#unit_cmp
217 [`unnecessary_mut_passed`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_mut_passed
218 [`unnecessary_operation`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_operation
219 [`unneeded_field_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#unneeded_field_pattern
220 [`unsafe_removed_from_name`]: https://github.com/Manishearth/rust-clippy/wiki#unsafe_removed_from_name
221 [`unstable_as_mut_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_mut_slice
222 [`unstable_as_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_slice
223 [`unused_collect`]: https://github.com/Manishearth/rust-clippy/wiki#unused_collect
224 [`unused_label`]: https://github.com/Manishearth/rust-clippy/wiki#unused_label
225 [`unused_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#unused_lifetimes
226 [`use_debug`]: https://github.com/Manishearth/rust-clippy/wiki#use_debug
227 [`used_underscore_binding`]: https://github.com/Manishearth/rust-clippy/wiki#used_underscore_binding
228 [`useless_format`]: https://github.com/Manishearth/rust-clippy/wiki#useless_format
229 [`useless_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#useless_transmute
230 [`useless_vec`]: https://github.com/Manishearth/rust-clippy/wiki#useless_vec
231 [`while_let_loop`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_loop
232 [`while_let_on_iterator`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_on_iterator
233 [`wrong_pub_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_pub_self_convention
234 [`wrong_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_self_convention
235 [`zero_divided_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#zero_divided_by_zero
236 [`zero_width_space`]: https://github.com/Manishearth/rust-clippy/wiki#zero_width_space
237 <!-- end autogenerated links to wiki -->