Skip to content

Commit c657d60

Browse files
committed
Bump the version
1 parent f1e905f commit c657d60

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ util/gh-pages/lints.json
2929
*.rs.bk
3030

3131
helper.txt
32+
33+
*.stdout
34+
35+
.vscode

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.122 — 2017-04-07
5+
* Rustup to *rustc 1.18.0-nightly (91ae22a01 2017-04-05)*
6+
* New lint: [`op_ref`]
7+
48
## 0.0.121 — 2017-03-21
59
* Rustup to *rustc 1.17.0-nightly (134c4a0f0 2017-03-20)*
610

@@ -417,6 +421,7 @@ All notable changes to this project will be documented in this file.
417421
[`nonsensical_open_options`]: https://github.com/Manishearth/rust-clippy/wiki#nonsensical_open_options
418422
[`not_unsafe_ptr_arg_deref`]: https://github.com/Manishearth/rust-clippy/wiki#not_unsafe_ptr_arg_deref
419423
[`ok_expect`]: https://github.com/Manishearth/rust-clippy/wiki#ok_expect
424+
[`op_ref`]: https://github.com/Manishearth/rust-clippy/wiki#op_ref
420425
[`option_map_unwrap_or`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or
421426
[`option_map_unwrap_or_else`]: https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or_else
422427
[`option_unwrap_used`]: https://github.com/Manishearth/rust-clippy/wiki#option_unwrap_used

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.121"
3+
version = "0.0.122"
44
authors = [
55
"Manish Goregaokar <[email protected]>",
66
"Andre Bogus <[email protected]>",
@@ -30,7 +30,7 @@ test = false
3030

3131
[dependencies]
3232
# begin automatic update
33-
clippy_lints = { version = "0.0.121", path = "clippy_lints" }
33+
clippy_lints = { version = "0.0.122", path = "clippy_lints" }
3434
# end automatic update
3535
cargo_metadata = "0.1.1"
3636

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ transparently:
180180

181181
## Lints
182182

183-
There are 196 lints included in this crate:
183+
There are 197 lints included in this crate:
184184

185185
name | default | triggers on
186186
-----------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------
@@ -304,6 +304,7 @@ name
304304
[nonsensical_open_options](https://github.com/Manishearth/rust-clippy/wiki#nonsensical_open_options) | warn | nonsensical combination of options for opening a file
305305
[not_unsafe_ptr_arg_deref](https://github.com/Manishearth/rust-clippy/wiki#not_unsafe_ptr_arg_deref) | warn | public functions dereferencing raw pointer arguments but not marked `unsafe`
306306
[ok_expect](https://github.com/Manishearth/rust-clippy/wiki#ok_expect) | warn | using `ok().expect()`, which gives worse error messages than calling `expect` directly on the Result
307+
[op_ref](https://github.com/Manishearth/rust-clippy/wiki#op_ref) | warn | taking a reference to satisfy the type constraints on `==`
307308
[option_map_unwrap_or](https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or) | allow | using `Option.map(f).unwrap_or(a)`, which is more succinctly expressed as `map_or(a, f)`
308309
[option_map_unwrap_or_else](https://github.com/Manishearth/rust-clippy/wiki#option_map_unwrap_or_else) | allow | using `Option.map(f).unwrap_or_else(g)`, which is more succinctly expressed as `map_or_else(g, f)`
309310
[option_unwrap_used](https://github.com/Manishearth/rust-clippy/wiki#option_unwrap_used) | allow | using `Option.unwrap()`, which should at least get a better message using `expect()`

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_lints"
33
# begin automatic update
4-
version = "0.0.121"
4+
version = "0.0.122"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
383383
enum_variants::ENUM_VARIANT_NAMES,
384384
enum_variants::MODULE_INCEPTION,
385385
eq_op::EQ_OP,
386+
eq_op::OP_REF,
386387
escape::BOXED_LOCAL,
387388
eta_reduction::REDUNDANT_CLOSURE,
388389
eval_order_dependence::DIVERGING_SUB_EXPRESSION,

0 commit comments

Comments
 (0)