mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-18 18:53:04 +00:00
Version bump
This commit is contained in:
parent
946b846fe9
commit
ce229b2025
@ -1,6 +1,9 @@
|
||||
# Change Log
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 0.0.206
|
||||
* Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
|
||||
|
||||
## 0.0.205
|
||||
* Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
|
||||
* Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint
|
||||
@ -778,6 +781,7 @@ All notable changes to this project will be documented in this file.
|
||||
[`redundant_closure_call`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_closure_call
|
||||
[`redundant_field_names`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_field_names
|
||||
[`redundant_pattern`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#redundant_pattern
|
||||
[`ref_in_deref`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#ref_in_deref
|
||||
[`regex_macro`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#regex_macro
|
||||
[`replace_consts`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#replace_consts
|
||||
[`result_map_unit_fn`]: https://rust-lang-nursery.github.io/rust-clippy/master/index.html#result_map_unit_fn
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "clippy"
|
||||
version = "0.0.205"
|
||||
version = "0.0.206"
|
||||
authors = [
|
||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||
"Andre Bogus <bogusandre@gmail.com>",
|
||||
@ -37,7 +37,7 @@ path = "src/driver.rs"
|
||||
|
||||
[dependencies]
|
||||
# begin automatic update
|
||||
clippy_lints = { version = "0.0.205", path = "clippy_lints" }
|
||||
clippy_lints = { version = "0.0.206", path = "clippy_lints" }
|
||||
# end automatic update
|
||||
regex = "1"
|
||||
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.
|
||||
|
||||
[There are 259 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
|
||||
[There are 260 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:
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "clippy_lints"
|
||||
# begin automatic update
|
||||
version = "0.0.205"
|
||||
version = "0.0.206"
|
||||
# end automatic update
|
||||
authors = [
|
||||
"Manish Goregaokar <manishsmail@gmail.com>",
|
||||
|
@ -637,6 +637,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
|
||||
ranges::RANGE_ZIP_WITH_LEN,
|
||||
redundant_field_names::REDUNDANT_FIELD_NAMES,
|
||||
reference::DEREF_ADDROF,
|
||||
reference::REF_IN_DEREF,
|
||||
regex::INVALID_REGEX,
|
||||
regex::REGEX_MACRO,
|
||||
regex::TRIVIAL_REGEX,
|
||||
|
@ -4,20 +4,20 @@ use utils::{in_macro, is_range_expression, match_var, span_lint_and_sugg};
|
||||
|
||||
/// **What it does:** Checks for fields in struct literals where shorthands
|
||||
/// could be used.
|
||||
///
|
||||
///
|
||||
/// **Why is this bad?** If the field and variable names are the same,
|
||||
/// the field name is redundant.
|
||||
///
|
||||
///
|
||||
/// **Known problems:** None.
|
||||
///
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// let bar: u8 = 123;
|
||||
///
|
||||
///
|
||||
/// struct Foo {
|
||||
/// bar: u8,
|
||||
/// }
|
||||
///
|
||||
///
|
||||
/// let foo = Foo{ bar: bar }
|
||||
/// ```
|
||||
declare_clippy_lint! {
|
||||
|
@ -365,7 +365,7 @@ where
|
||||
then {
|
||||
if args.len() == 2 {
|
||||
lint_fn(tup_val.span);
|
||||
}
|
||||
}
|
||||
|
||||
// ensure the format str has no options (e.g., width, precision, alignment, etc.)
|
||||
// and is just "{}"
|
||||
|
@ -1,7 +1,7 @@
|
||||
rustc 1.28.0-nightly (990d8aa74 2018-05-25)
|
||||
rustc 1.28.0-nightly (5bf68db6e 2018-05-28)
|
||||
binary: rustc
|
||||
commit-hash: 990d8aa743b1dda3cc0f68fe09524486261812c6
|
||||
commit-date: 2018-05-25
|
||||
commit-hash: 5bf68db6ecda0dd4788311a41b5c763d35597c96
|
||||
commit-date: 2018-05-28
|
||||
host: x86_64-unknown-linux-gnu
|
||||
release: 1.28.0-nightly
|
||||
LLVM version: 6.0
|
||||
|
Loading…
Reference in New Issue
Block a user