Skip to content

Commit 9dc9487

Browse files
committed
Version bump
1 parent 486dc5c commit 9dc9487

File tree

5 files changed

+29
-14
lines changed

5 files changed

+29
-14
lines changed

CHANGELOG.md

Lines changed: 9 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.194
5+
* Rustup to *rustc 1.27.0-nightly (bd40cbbe1 2018-04-14)*
6+
* New lints: [`cast_ptr_alignment`], [`transmute_ptr_to_ptr`], [`write_literal`], [`write_with_newline`], [`writeln_empty_string`]
7+
48
## 0.0.193
59
* Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)*
610

@@ -571,6 +575,7 @@ All notable changes to this project will be documented in this file.
571575
[`cast_possible_truncation`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_truncation
572576
[`cast_possible_wrap`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_wrap
573577
[`cast_precision_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_precision_loss
578+
[`cast_ptr_alignment`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_ptr_alignment
574579
[`cast_sign_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_sign_loss
575580
[`char_lit_as_u8`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#char_lit_as_u8
576581
[`chars_last_cmp`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#chars_last_cmp
@@ -769,6 +774,7 @@ All notable changes to this project will be documented in this file.
769774
[`transmute_int_to_bool`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_bool
770775
[`transmute_int_to_char`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_char
771776
[`transmute_int_to_float`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_float
777+
[`transmute_ptr_to_ptr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
772778
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
773779
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
774780
[`type_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#type_complexity
@@ -802,6 +808,9 @@ All notable changes to this project will be documented in this file.
802808
[`while_immutable_condition`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_immutable_condition
803809
[`while_let_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_loop
804810
[`while_let_on_iterator`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_on_iterator
811+
[`write_literal`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#write_literal
812+
[`write_with_newline`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#write_with_newline
813+
[`writeln_empty_string`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#writeln_empty_string
805814
[`wrong_pub_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_pub_self_convention
806815
[`wrong_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_self_convention
807816
[`wrong_transmute`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_transmute

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.193"
3+
version = "0.0.194"
44
authors = [
55
"Manish Goregaokar <[email protected]>",
66
"Andre Bogus <[email protected]>",
@@ -37,7 +37,7 @@ path = "src/driver.rs"
3737

3838
[dependencies]
3939
# begin automatic update
40-
clippy_lints = { version = "0.0.193", path = "clippy_lints" }
40+
clippy_lints = { version = "0.0.194", path = "clippy_lints" }
4141
# end automatic update
4242
regex = "0.2"
4343
semver = "0.9"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
99

10-
[There are 249 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
10+
[There are 253 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
1111

1212
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
1313

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.193"
4+
version = "0.0.194"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/lib.rs

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
421421
methods::WRONG_PUB_SELF_CONVENTION,
422422
misc::FLOAT_CMP_CONST,
423423
missing_doc::MISSING_DOCS_IN_PRIVATE_ITEMS,
424-
write::PRINT_STDOUT,
425-
write::USE_DEBUG,
426424
shadow::SHADOW_REUSE,
427425
shadow::SHADOW_SAME,
428426
shadow::SHADOW_UNRELATED,
429427
strings::STRING_ADD,
428+
write::PRINT_STDOUT,
429+
write::USE_DEBUG,
430430
]);
431431

432432
reg.register_lint_group("clippy_pedantic", vec![
@@ -612,9 +612,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
612612
panic::PANIC_PARAMS,
613613
partialeq_ne_impl::PARTIALEQ_NE_IMPL,
614614
precedence::PRECEDENCE,
615-
write::PRINT_LITERAL,
616-
write::PRINT_WITH_NEWLINE,
617-
write::PRINTLN_EMPTY_STRING,
618615
ptr::CMP_NULL,
619616
ptr::MUT_FROM_REF,
620617
ptr::PTR_ARG,
@@ -641,8 +638,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
641638
transmute::TRANSMUTE_INT_TO_BOOL,
642639
transmute::TRANSMUTE_INT_TO_CHAR,
643640
transmute::TRANSMUTE_INT_TO_FLOAT,
644-
transmute::TRANSMUTE_PTR_TO_REF,
645641
transmute::TRANSMUTE_PTR_TO_PTR,
642+
transmute::TRANSMUTE_PTR_TO_REF,
646643
transmute::USELESS_TRANSMUTE,
647644
transmute::WRONG_TRANSMUTE,
648645
types::ABSURD_EXTREME_COMPARISONS,
@@ -663,6 +660,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
663660
unused_io_amount::UNUSED_IO_AMOUNT,
664661
unused_label::UNUSED_LABEL,
665662
vec::USELESS_VEC,
663+
write::PRINT_LITERAL,
664+
write::PRINT_WITH_NEWLINE,
665+
write::PRINTLN_EMPTY_STRING,
666+
write::WRITE_LITERAL,
667+
write::WRITE_WITH_NEWLINE,
668+
write::WRITELN_EMPTY_STRING,
666669
zero_div_zero::ZERO_DIVIDED_BY_ZERO,
667670
]);
668671

@@ -727,9 +730,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
727730
non_expressive_names::MANY_SINGLE_CHAR_NAMES,
728731
ok_if_let::IF_LET_SOME_RESULT,
729732
panic::PANIC_PARAMS,
730-
write::PRINT_LITERAL,
731-
write::PRINT_WITH_NEWLINE,
732-
write::PRINTLN_EMPTY_STRING,
733733
ptr::CMP_NULL,
734734
ptr::PTR_ARG,
735735
question_mark::QUESTION_MARK,
@@ -743,6 +743,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
743743
types::IMPLICIT_HASHER,
744744
types::LET_UNIT_VALUE,
745745
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
746+
write::PRINT_LITERAL,
747+
write::PRINT_WITH_NEWLINE,
748+
write::PRINTLN_EMPTY_STRING,
749+
write::WRITE_LITERAL,
750+
write::WRITE_WITH_NEWLINE,
751+
write::WRITELN_EMPTY_STRING,
746752
]);
747753

748754
reg.register_lint_group("clippy_complexity", vec![
@@ -791,8 +797,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
791797
transmute::TRANSMUTE_INT_TO_BOOL,
792798
transmute::TRANSMUTE_INT_TO_CHAR,
793799
transmute::TRANSMUTE_INT_TO_FLOAT,
794-
transmute::TRANSMUTE_PTR_TO_REF,
795800
transmute::TRANSMUTE_PTR_TO_PTR,
801+
transmute::TRANSMUTE_PTR_TO_REF,
796802
transmute::USELESS_TRANSMUTE,
797803
types::BORROWED_BOX,
798804
types::CAST_LOSSLESS,

0 commit comments

Comments
 (0)