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