]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Merge pull request #1054 from Manishearth/rustup
[rust.git] / CHANGELOG.md
1 # Change Log
2 All notable changes to this project will be documented in this file.
3
4 ## 0.0.78 - 2016-07-02
5 * Rustup to *rustc 1.11.0-nightly (01411937f 2016-07-01)*
6 * New lints: [`wrong_transmute`, `double_neg`]
7 * For compatibility, `cargo clippy` does not defines the `clippy` feature
8   introduced in 0.0.76 anymore
9 * [`collapsible_if`] now considers `if let`
10
11 ## 0.0.77 — 2016-06-21
12 * Rustup to *rustc 1.11.0-nightly (5522e678b 2016-06-20)*
13 * New lints: [`stutter`] and [`iter_nth`]
14
15 ## 0.0.76 — 2016-06-10
16 * Rustup to *rustc 1.11.0-nightly (7d2f75a95 2016-06-09)*
17 * `cargo clippy` now automatically defines the `clippy` feature
18
19 ## 0.0.75 — 2016-06-08
20 * Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*
21
22 ## 0.0.74 — 2016-06-07
23 * Fix bug with `cargo-clippy` JSON parsing
24 * Add the `CLIPPY_DISABLE_WIKI_LINKS` environment variable to deactivate the
25   “for further information visit *wiki-link*” message.
26
27 ## 0.0.73 — 2016-06-05
28 * Fix false positives in [`useless_let_if_seq`]
29
30 ## 0.0.72 — 2016-06-04
31 * Fix false positives in [`useless_let_if_seq`]
32
33 ## 0.0.71 — 2016-05-31
34 * Rustup to *rustc 1.11.0-nightly (a967611d8 2016-05-30)*
35 * New lint: [`useless_let_if_seq`]
36
37 ## 0.0.70 — 2016-05-28
38 * Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)*
39 * [`invalid_regex`] and [`trivial_regex`] can now warn on `RegexSet::new`,
40   `RegexBuilder::new` and byte regexes
41
42 ## 0.0.69 — 2016-05-20
43 * Rustup to *rustc 1.10.0-nightly (476fe6eef 2016-05-21)*
44 * [`used_underscore_binding`] has been made `Allow` temporarily
45
46 ## 0.0.68 — 2016-05-17
47 * Rustup to *rustc 1.10.0-nightly (cd6a40017 2016-05-16)*
48 * New lint: [`unnecessary_operation`]
49
50 ## 0.0.67 — 2016-05-12
51 * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)*
52
53 ## 0.0.66 — 2016-05-11
54 * New `cargo clippy` subcommand
55 * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`]
56
57 ## 0.0.65 — 2016-05-08
58 * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
59 * New lints: [`float_arithmetic`], [`integer_arithmetic`]
60
61 ## 0.0.64 — 2016-04-26
62 * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)*
63 * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`]
64
65 ## 0.0.63 — 2016-04-08
66 * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)*
67
68 ## 0.0.62 — 2016-04-07
69 * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)*
70
71 ## 0.0.61 — 2016-04-03
72 * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)*
73 * New lint: [`invalid_upcast_comparisons`]
74
75 ## 0.0.60 — 2016-04-01
76 * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)*
77
78 ## 0.0.59 — 2016-03-31
79 * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)*
80 * New lints: [`logic_bug`], [`nonminimal_bool`]
81 * Fixed: [`match_same_arms`] now ignores arms with guards
82 * Improved: [`useless_vec`] now warns on `for … in vec![…]`
83
84 ## 0.0.58 — 2016-03-27
85 * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)*
86 * New lint: [`doc_markdown`]
87
88 ## 0.0.57 — 2016-03-27
89 * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)*
90 * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`]
91 * New lint: [`crosspointer_transmute`]
92
93 ## 0.0.56 — 2016-03-23
94 * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)*
95 * New lints: [`many_single_char_names`] and [`similar_names`]
96
97 ## 0.0.55 — 2016-03-21
98 * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)*
99
100 ## 0.0.54 — 2016-03-16
101 * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)*
102
103 ## 0.0.53 — 2016-03-15
104 * Add a [configuration file]
105
106 ## ~~0.0.52~~
107
108 ## 0.0.51 — 2016-03-13
109 * Add `str` to types considered by [`len_zero`]
110 * New lints: [`indexing_slicing`]
111
112 ## 0.0.50 — 2016-03-11
113 * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)*
114
115 ## 0.0.49 — 2016-03-09
116 * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
117 * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`]
118
119 ## 0.0.48 — 2016-03-07
120 * Fixed: ICE in [`needless_range_loop`] with globals
121
122 ## 0.0.47 — 2016-03-07
123 * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)*
124 * New lint: [`redundant_closure_call`]
125
126 [configuration file]: ./rust-clippy#configuration
127
128 <!-- begin autogenerated links to wiki -->
129 [`absurd_extreme_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#absurd_extreme_comparisons
130 [`almost_swapped`]: https://github.com/Manishearth/rust-clippy/wiki#almost_swapped
131 [`approx_constant`]: https://github.com/Manishearth/rust-clippy/wiki#approx_constant
132 [`assign_op_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#assign_op_pattern
133 [`assign_ops`]: https://github.com/Manishearth/rust-clippy/wiki#assign_ops
134 [`bad_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#bad_bit_mask
135 [`blacklisted_name`]: https://github.com/Manishearth/rust-clippy/wiki#blacklisted_name
136 [`block_in_if_condition_expr`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_expr
137 [`block_in_if_condition_stmt`]: https://github.com/Manishearth/rust-clippy/wiki#block_in_if_condition_stmt
138 [`bool_comparison`]: https://github.com/Manishearth/rust-clippy/wiki#bool_comparison
139 [`box_vec`]: https://github.com/Manishearth/rust-clippy/wiki#box_vec
140 [`boxed_local`]: https://github.com/Manishearth/rust-clippy/wiki#boxed_local
141 [`cast_possible_truncation`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_truncation
142 [`cast_possible_wrap`]: https://github.com/Manishearth/rust-clippy/wiki#cast_possible_wrap
143 [`cast_precision_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_precision_loss
144 [`cast_sign_loss`]: https://github.com/Manishearth/rust-clippy/wiki#cast_sign_loss
145 [`char_lit_as_u8`]: https://github.com/Manishearth/rust-clippy/wiki#char_lit_as_u8
146 [`chars_next_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#chars_next_cmp
147 [`clone_double_ref`]: https://github.com/Manishearth/rust-clippy/wiki#clone_double_ref
148 [`clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#clone_on_copy
149 [`cmp_nan`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_nan
150 [`cmp_owned`]: https://github.com/Manishearth/rust-clippy/wiki#cmp_owned
151 [`collapsible_if`]: https://github.com/Manishearth/rust-clippy/wiki#collapsible_if
152 [`crosspointer_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#crosspointer_transmute
153 [`cyclomatic_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#cyclomatic_complexity
154 [`deprecated_semver`]: https://github.com/Manishearth/rust-clippy/wiki#deprecated_semver
155 [`derive_hash_xor_eq`]: https://github.com/Manishearth/rust-clippy/wiki#derive_hash_xor_eq
156 [`doc_markdown`]: https://github.com/Manishearth/rust-clippy/wiki#doc_markdown
157 [`double_neg`]: https://github.com/Manishearth/rust-clippy/wiki#double_neg
158 [`drop_ref`]: https://github.com/Manishearth/rust-clippy/wiki#drop_ref
159 [`duplicate_underscore_argument`]: https://github.com/Manishearth/rust-clippy/wiki#duplicate_underscore_argument
160 [`empty_loop`]: https://github.com/Manishearth/rust-clippy/wiki#empty_loop
161 [`enum_clike_unportable_variant`]: https://github.com/Manishearth/rust-clippy/wiki#enum_clike_unportable_variant
162 [`enum_glob_use`]: https://github.com/Manishearth/rust-clippy/wiki#enum_glob_use
163 [`enum_variant_names`]: https://github.com/Manishearth/rust-clippy/wiki#enum_variant_names
164 [`eq_op`]: https://github.com/Manishearth/rust-clippy/wiki#eq_op
165 [`expl_impl_clone_on_copy`]: https://github.com/Manishearth/rust-clippy/wiki#expl_impl_clone_on_copy
166 [`explicit_counter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_counter_loop
167 [`explicit_iter_loop`]: https://github.com/Manishearth/rust-clippy/wiki#explicit_iter_loop
168 [`extend_from_slice`]: https://github.com/Manishearth/rust-clippy/wiki#extend_from_slice
169 [`filter_map`]: https://github.com/Manishearth/rust-clippy/wiki#filter_map
170 [`filter_next`]: https://github.com/Manishearth/rust-clippy/wiki#filter_next
171 [`float_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#float_arithmetic
172 [`float_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#float_cmp
173 [`for_kv_map`]: https://github.com/Manishearth/rust-clippy/wiki#for_kv_map
174 [`for_loop_over_option`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_option
175 [`for_loop_over_result`]: https://github.com/Manishearth/rust-clippy/wiki#for_loop_over_result
176 [`identity_op`]: https://github.com/Manishearth/rust-clippy/wiki#identity_op
177 [`if_not_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_not_else
178 [`if_same_then_else`]: https://github.com/Manishearth/rust-clippy/wiki#if_same_then_else
179 [`ifs_same_cond`]: https://github.com/Manishearth/rust-clippy/wiki#ifs_same_cond
180 [`indexing_slicing`]: https://github.com/Manishearth/rust-clippy/wiki#indexing_slicing
181 [`ineffective_bit_mask`]: https://github.com/Manishearth/rust-clippy/wiki#ineffective_bit_mask
182 [`inline_always`]: https://github.com/Manishearth/rust-clippy/wiki#inline_always
183 [`integer_arithmetic`]: https://github.com/Manishearth/rust-clippy/wiki#integer_arithmetic
184 [`invalid_regex`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_regex
185 [`invalid_upcast_comparisons`]: https://github.com/Manishearth/rust-clippy/wiki#invalid_upcast_comparisons
186 [`items_after_statements`]: https://github.com/Manishearth/rust-clippy/wiki#items_after_statements
187 [`iter_next_loop`]: https://github.com/Manishearth/rust-clippy/wiki#iter_next_loop
188 [`iter_nth`]: https://github.com/Manishearth/rust-clippy/wiki#iter_nth
189 [`len_without_is_empty`]: https://github.com/Manishearth/rust-clippy/wiki#len_without_is_empty
190 [`len_zero`]: https://github.com/Manishearth/rust-clippy/wiki#len_zero
191 [`let_and_return`]: https://github.com/Manishearth/rust-clippy/wiki#let_and_return
192 [`let_unit_value`]: https://github.com/Manishearth/rust-clippy/wiki#let_unit_value
193 [`linkedlist`]: https://github.com/Manishearth/rust-clippy/wiki#linkedlist
194 [`logic_bug`]: https://github.com/Manishearth/rust-clippy/wiki#logic_bug
195 [`manual_swap`]: https://github.com/Manishearth/rust-clippy/wiki#manual_swap
196 [`many_single_char_names`]: https://github.com/Manishearth/rust-clippy/wiki#many_single_char_names
197 [`map_clone`]: https://github.com/Manishearth/rust-clippy/wiki#map_clone
198 [`map_entry`]: https://github.com/Manishearth/rust-clippy/wiki#map_entry
199 [`match_bool`]: https://github.com/Manishearth/rust-clippy/wiki#match_bool
200 [`match_overlapping_arm`]: https://github.com/Manishearth/rust-clippy/wiki#match_overlapping_arm
201 [`match_ref_pats`]: https://github.com/Manishearth/rust-clippy/wiki#match_ref_pats
202 [`match_same_arms`]: https://github.com/Manishearth/rust-clippy/wiki#match_same_arms
203 [`mem_forget`]: https://github.com/Manishearth/rust-clippy/wiki#mem_forget
204 [`min_max`]: https://github.com/Manishearth/rust-clippy/wiki#min_max
205 [`modulo_one`]: https://github.com/Manishearth/rust-clippy/wiki#modulo_one
206 [`mut_mut`]: https://github.com/Manishearth/rust-clippy/wiki#mut_mut
207 [`mutex_atomic`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_atomic
208 [`mutex_integer`]: https://github.com/Manishearth/rust-clippy/wiki#mutex_integer
209 [`needless_bool`]: https://github.com/Manishearth/rust-clippy/wiki#needless_bool
210 [`needless_borrow`]: https://github.com/Manishearth/rust-clippy/wiki#needless_borrow
211 [`needless_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#needless_lifetimes
212 [`needless_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#needless_range_loop
213 [`needless_return`]: https://github.com/Manishearth/rust-clippy/wiki#needless_return
214 [`needless_update`]: https://github.com/Manishearth/rust-clippy/wiki#needless_update
215 [`neg_multiply`]: https://github.com/Manishearth/rust-clippy/wiki#neg_multiply
216 [`new_ret_no_self`]: https://github.com/Manishearth/rust-clippy/wiki#new_ret_no_self
217 [`new_without_default`]: https://github.com/Manishearth/rust-clippy/wiki#new_without_default
218 [`new_without_default_derive`]: https://github.com/Manishearth/rust-clippy/wiki#new_without_default_derive
219 [`no_effect`]: https://github.com/Manishearth/rust-clippy/wiki#no_effect
220 [`non_ascii_literal`]: https://github.com/Manishearth/rust-clippy/wiki#non_ascii_literal
221 [`nonminimal_bool`]: https://github.com/Manishearth/rust-clippy/wiki#nonminimal_bool
222 [`nonsensical_open_options`]: https://github.com/Manishearth/rust-clippy/wiki#nonsensical_open_options
223 [`ok_expect`]: https://github.com/Manishearth/rust-clippy/wiki#ok_expect
224 [`option_map_unwrap_or`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or
225 [`option_map_unwrap_or_else`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or_else
226 [`option_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#option_unwrap_used
227 [`or_fun_call`]: https://github.com/Manishearth/rust-clippy/wiki#or_fun_call
228 [`out_of_bounds_indexing`]: https://github.com/Manishearth/rust-clippy/wiki#out_of_bounds_indexing
229 [`overflow_check_conditional`]: https://github.com/Manishearth/rust-clippy/wiki#overflow_check_conditional
230 [`panic_params`]: https://github.com/Manishearth/rust-clippy/wiki#panic_params
231 [`precedence`]: https://github.com/Manishearth/rust-clippy/wiki#precedence
232 [`print_stdout`]: https://github.com/Manishearth/rust-clippy/wiki#print_stdout
233 [`ptr_arg`]: https://github.com/Manishearth/rust-clippy/wiki#ptr_arg
234 [`range_step_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#range_step_by_zero
235 [`range_zip_with_len`]: https://github.com/Manishearth/rust-clippy/wiki#range_zip_with_len
236 [`redundant_closure`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure
237 [`redundant_closure_call`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_closure_call
238 [`redundant_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#redundant_pattern
239 [`regex_macro`]: https://github.com/Manishearth/rust-clippy/wiki#regex_macro
240 [`result_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#result_unwrap_used
241 [`reverse_range_loop`]: https://github.com/Manishearth/rust-clippy/wiki#reverse_range_loop
242 [`search_is_some`]: https://github.com/Manishearth/rust-clippy/wiki#search_is_some
243 [`shadow_reuse`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_reuse
244 [`shadow_same`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_same
245 [`shadow_unrelated`]: https://github.com/Manishearth/rust-clippy/wiki#shadow_unrelated
246 [`should_implement_trait`]: https://github.com/Manishearth/rust-clippy/wiki#should_implement_trait
247 [`similar_names`]: https://github.com/Manishearth/rust-clippy/wiki#similar_names
248 [`single_char_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#single_char_pattern
249 [`single_match`]: https://github.com/Manishearth/rust-clippy/wiki#single_match
250 [`single_match_else`]: https://github.com/Manishearth/rust-clippy/wiki#single_match_else
251 [`str_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#str_to_string
252 [`string_add`]: https://github.com/Manishearth/rust-clippy/wiki#string_add
253 [`string_add_assign`]: https://github.com/Manishearth/rust-clippy/wiki#string_add_assign
254 [`string_lit_as_bytes`]: https://github.com/Manishearth/rust-clippy/wiki#string_lit_as_bytes
255 [`string_to_string`]: https://github.com/Manishearth/rust-clippy/wiki#string_to_string
256 [`stutter`]: https://github.com/Manishearth/rust-clippy/wiki#stutter
257 [`suspicious_assignment_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_assignment_formatting
258 [`suspicious_else_formatting`]: https://github.com/Manishearth/rust-clippy/wiki#suspicious_else_formatting
259 [`temporary_assignment`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_assignment
260 [`temporary_cstring_as_ptr`]: https://github.com/Manishearth/rust-clippy/wiki#temporary_cstring_as_ptr
261 [`too_many_arguments`]: https://github.com/Manishearth/rust-clippy/wiki#too_many_arguments
262 [`toplevel_ref_arg`]: https://github.com/Manishearth/rust-clippy/wiki#toplevel_ref_arg
263 [`transmute_ptr_to_ref`]: https://github.com/Manishearth/rust-clippy/wiki#transmute_ptr_to_ref
264 [`trivial_regex`]: https://github.com/Manishearth/rust-clippy/wiki#trivial_regex
265 [`type_complexity`]: https://github.com/Manishearth/rust-clippy/wiki#type_complexity
266 [`unicode_not_nfc`]: https://github.com/Manishearth/rust-clippy/wiki#unicode_not_nfc
267 [`unit_cmp`]: https://github.com/Manishearth/rust-clippy/wiki#unit_cmp
268 [`unnecessary_mut_passed`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_mut_passed
269 [`unnecessary_operation`]: https://github.com/Manishearth/rust-clippy/wiki#unnecessary_operation
270 [`unneeded_field_pattern`]: https://github.com/Manishearth/rust-clippy/wiki#unneeded_field_pattern
271 [`unsafe_removed_from_name`]: https://github.com/Manishearth/rust-clippy/wiki#unsafe_removed_from_name
272 [`unstable_as_mut_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_mut_slice
273 [`unstable_as_slice`]: https://github.com/Manishearth/rust-clippy/wiki#unstable_as_slice
274 [`unused_collect`]: https://github.com/Manishearth/rust-clippy/wiki#unused_collect
275 [`unused_label`]: https://github.com/Manishearth/rust-clippy/wiki#unused_label
276 [`unused_lifetimes`]: https://github.com/Manishearth/rust-clippy/wiki#unused_lifetimes
277 [`use_debug`]: https://github.com/Manishearth/rust-clippy/wiki#use_debug
278 [`used_underscore_binding`]: https://github.com/Manishearth/rust-clippy/wiki#used_underscore_binding
279 [`useless_format`]: https://github.com/Manishearth/rust-clippy/wiki#useless_format
280 [`useless_let_if_seq`]: https://github.com/Manishearth/rust-clippy/wiki#useless_let_if_seq
281 [`useless_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#useless_transmute
282 [`useless_vec`]: https://github.com/Manishearth/rust-clippy/wiki#useless_vec
283 [`while_let_loop`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_loop
284 [`while_let_on_iterator`]: https://github.com/Manishearth/rust-clippy/wiki#while_let_on_iterator
285 [`wrong_pub_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_pub_self_convention
286 [`wrong_self_convention`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_self_convention
287 [`wrong_transmute`]: https://github.com/Manishearth/rust-clippy/wiki#wrong_transmute
288 [`zero_divided_by_zero`]: https://github.com/Manishearth/rust-clippy/wiki#zero_divided_by_zero
289 [`zero_width_space`]: https://github.com/Manishearth/rust-clippy/wiki#zero_width_space
290 <!-- end autogenerated links to wiki -->