mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Version bump
This commit is contained in:
parent
486dc5c070
commit
9dc9487567
@ -1,6 +1,10 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## 0.0.194
|
||||||
|
* Rustup to *rustc 1.27.0-nightly (bd40cbbe1 2018-04-14)*
|
||||||
|
* New lints: [`cast_ptr_alignment`], [`transmute_ptr_to_ptr`], [`write_literal`], [`write_with_newline`], [`writeln_empty_string`]
|
||||||
|
|
||||||
## 0.0.193
|
## 0.0.193
|
||||||
* Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)*
|
* Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)*
|
||||||
|
|
||||||
@ -571,6 +575,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
[`cast_possible_truncation`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_truncation
|
[`cast_possible_truncation`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_truncation
|
||||||
[`cast_possible_wrap`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_wrap
|
[`cast_possible_wrap`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_possible_wrap
|
||||||
[`cast_precision_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_precision_loss
|
[`cast_precision_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_precision_loss
|
||||||
|
[`cast_ptr_alignment`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_ptr_alignment
|
||||||
[`cast_sign_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_sign_loss
|
[`cast_sign_loss`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#cast_sign_loss
|
||||||
[`char_lit_as_u8`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#char_lit_as_u8
|
[`char_lit_as_u8`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#char_lit_as_u8
|
||||||
[`chars_last_cmp`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#chars_last_cmp
|
[`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.
|
|||||||
[`transmute_int_to_bool`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_bool
|
[`transmute_int_to_bool`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_bool
|
||||||
[`transmute_int_to_char`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_char
|
[`transmute_int_to_char`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_char
|
||||||
[`transmute_int_to_float`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_float
|
[`transmute_int_to_float`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_int_to_float
|
||||||
|
[`transmute_ptr_to_ptr`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
|
||||||
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
|
[`transmute_ptr_to_ref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
|
||||||
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
|
[`trivial_regex`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#trivial_regex
|
||||||
[`type_complexity`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#type_complexity
|
[`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.
|
|||||||
[`while_immutable_condition`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_immutable_condition
|
[`while_immutable_condition`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_immutable_condition
|
||||||
[`while_let_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_loop
|
[`while_let_loop`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_loop
|
||||||
[`while_let_on_iterator`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_on_iterator
|
[`while_let_on_iterator`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_let_on_iterator
|
||||||
|
[`write_literal`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#write_literal
|
||||||
|
[`write_with_newline`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#write_with_newline
|
||||||
|
[`writeln_empty_string`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#writeln_empty_string
|
||||||
[`wrong_pub_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_pub_self_convention
|
[`wrong_pub_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_pub_self_convention
|
||||||
[`wrong_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_self_convention
|
[`wrong_self_convention`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_self_convention
|
||||||
[`wrong_transmute`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_transmute
|
[`wrong_transmute`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_transmute
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "clippy"
|
name = "clippy"
|
||||||
version = "0.0.193"
|
version = "0.0.194"
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
"Andre Bogus <bogusandre@gmail.com>",
|
"Andre Bogus <bogusandre@gmail.com>",
|
||||||
@ -37,7 +37,7 @@ path = "src/driver.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
clippy_lints = { version = "0.0.193", path = "clippy_lints" }
|
clippy_lints = { version = "0.0.194", path = "clippy_lints" }
|
||||||
# end automatic update
|
# end automatic update
|
||||||
regex = "0.2"
|
regex = "0.2"
|
||||||
semver = "0.9"
|
semver = "0.9"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
|
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
|
||||||
|
|
||||||
[There are 249 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
[There are 253 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
||||||
|
|
||||||
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
|
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "clippy_lints"
|
name = "clippy_lints"
|
||||||
# begin automatic update
|
# begin automatic update
|
||||||
version = "0.0.193"
|
version = "0.0.194"
|
||||||
# end automatic update
|
# end automatic update
|
||||||
authors = [
|
authors = [
|
||||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||||
|
@ -421,12 +421,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
methods::WRONG_PUB_SELF_CONVENTION,
|
methods::WRONG_PUB_SELF_CONVENTION,
|
||||||
misc::FLOAT_CMP_CONST,
|
misc::FLOAT_CMP_CONST,
|
||||||
missing_doc::MISSING_DOCS_IN_PRIVATE_ITEMS,
|
missing_doc::MISSING_DOCS_IN_PRIVATE_ITEMS,
|
||||||
write::PRINT_STDOUT,
|
|
||||||
write::USE_DEBUG,
|
|
||||||
shadow::SHADOW_REUSE,
|
shadow::SHADOW_REUSE,
|
||||||
shadow::SHADOW_SAME,
|
shadow::SHADOW_SAME,
|
||||||
shadow::SHADOW_UNRELATED,
|
shadow::SHADOW_UNRELATED,
|
||||||
strings::STRING_ADD,
|
strings::STRING_ADD,
|
||||||
|
write::PRINT_STDOUT,
|
||||||
|
write::USE_DEBUG,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
reg.register_lint_group("clippy_pedantic", vec![
|
reg.register_lint_group("clippy_pedantic", vec![
|
||||||
@ -612,9 +612,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
panic::PANIC_PARAMS,
|
panic::PANIC_PARAMS,
|
||||||
partialeq_ne_impl::PARTIALEQ_NE_IMPL,
|
partialeq_ne_impl::PARTIALEQ_NE_IMPL,
|
||||||
precedence::PRECEDENCE,
|
precedence::PRECEDENCE,
|
||||||
write::PRINT_LITERAL,
|
|
||||||
write::PRINT_WITH_NEWLINE,
|
|
||||||
write::PRINTLN_EMPTY_STRING,
|
|
||||||
ptr::CMP_NULL,
|
ptr::CMP_NULL,
|
||||||
ptr::MUT_FROM_REF,
|
ptr::MUT_FROM_REF,
|
||||||
ptr::PTR_ARG,
|
ptr::PTR_ARG,
|
||||||
@ -641,8 +638,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
transmute::TRANSMUTE_INT_TO_BOOL,
|
transmute::TRANSMUTE_INT_TO_BOOL,
|
||||||
transmute::TRANSMUTE_INT_TO_CHAR,
|
transmute::TRANSMUTE_INT_TO_CHAR,
|
||||||
transmute::TRANSMUTE_INT_TO_FLOAT,
|
transmute::TRANSMUTE_INT_TO_FLOAT,
|
||||||
transmute::TRANSMUTE_PTR_TO_REF,
|
|
||||||
transmute::TRANSMUTE_PTR_TO_PTR,
|
transmute::TRANSMUTE_PTR_TO_PTR,
|
||||||
|
transmute::TRANSMUTE_PTR_TO_REF,
|
||||||
transmute::USELESS_TRANSMUTE,
|
transmute::USELESS_TRANSMUTE,
|
||||||
transmute::WRONG_TRANSMUTE,
|
transmute::WRONG_TRANSMUTE,
|
||||||
types::ABSURD_EXTREME_COMPARISONS,
|
types::ABSURD_EXTREME_COMPARISONS,
|
||||||
@ -663,6 +660,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
unused_io_amount::UNUSED_IO_AMOUNT,
|
unused_io_amount::UNUSED_IO_AMOUNT,
|
||||||
unused_label::UNUSED_LABEL,
|
unused_label::UNUSED_LABEL,
|
||||||
vec::USELESS_VEC,
|
vec::USELESS_VEC,
|
||||||
|
write::PRINT_LITERAL,
|
||||||
|
write::PRINT_WITH_NEWLINE,
|
||||||
|
write::PRINTLN_EMPTY_STRING,
|
||||||
|
write::WRITE_LITERAL,
|
||||||
|
write::WRITE_WITH_NEWLINE,
|
||||||
|
write::WRITELN_EMPTY_STRING,
|
||||||
zero_div_zero::ZERO_DIVIDED_BY_ZERO,
|
zero_div_zero::ZERO_DIVIDED_BY_ZERO,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -727,9 +730,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
non_expressive_names::MANY_SINGLE_CHAR_NAMES,
|
non_expressive_names::MANY_SINGLE_CHAR_NAMES,
|
||||||
ok_if_let::IF_LET_SOME_RESULT,
|
ok_if_let::IF_LET_SOME_RESULT,
|
||||||
panic::PANIC_PARAMS,
|
panic::PANIC_PARAMS,
|
||||||
write::PRINT_LITERAL,
|
|
||||||
write::PRINT_WITH_NEWLINE,
|
|
||||||
write::PRINTLN_EMPTY_STRING,
|
|
||||||
ptr::CMP_NULL,
|
ptr::CMP_NULL,
|
||||||
ptr::PTR_ARG,
|
ptr::PTR_ARG,
|
||||||
question_mark::QUESTION_MARK,
|
question_mark::QUESTION_MARK,
|
||||||
@ -743,6 +743,12 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
types::IMPLICIT_HASHER,
|
types::IMPLICIT_HASHER,
|
||||||
types::LET_UNIT_VALUE,
|
types::LET_UNIT_VALUE,
|
||||||
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
|
unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME,
|
||||||
|
write::PRINT_LITERAL,
|
||||||
|
write::PRINT_WITH_NEWLINE,
|
||||||
|
write::PRINTLN_EMPTY_STRING,
|
||||||
|
write::WRITE_LITERAL,
|
||||||
|
write::WRITE_WITH_NEWLINE,
|
||||||
|
write::WRITELN_EMPTY_STRING,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
reg.register_lint_group("clippy_complexity", vec![
|
reg.register_lint_group("clippy_complexity", vec![
|
||||||
@ -791,8 +797,8 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
|||||||
transmute::TRANSMUTE_INT_TO_BOOL,
|
transmute::TRANSMUTE_INT_TO_BOOL,
|
||||||
transmute::TRANSMUTE_INT_TO_CHAR,
|
transmute::TRANSMUTE_INT_TO_CHAR,
|
||||||
transmute::TRANSMUTE_INT_TO_FLOAT,
|
transmute::TRANSMUTE_INT_TO_FLOAT,
|
||||||
transmute::TRANSMUTE_PTR_TO_REF,
|
|
||||||
transmute::TRANSMUTE_PTR_TO_PTR,
|
transmute::TRANSMUTE_PTR_TO_PTR,
|
||||||
|
transmute::TRANSMUTE_PTR_TO_REF,
|
||||||
transmute::USELESS_TRANSMUTE,
|
transmute::USELESS_TRANSMUTE,
|
||||||
types::BORROWED_BOX,
|
types::BORROWED_BOX,
|
||||||
types::CAST_LOSSLESS,
|
types::CAST_LOSSLESS,
|
||||||
|
Loading…
Reference in New Issue
Block a user