]>
git.lizzy.rs Git - rust.git/log
Manish Goregaokar [Sat, 28 Oct 2017 18:04:25 +0000 (14:04 -0400)]
Merge branch 'pr-2140'
Oliver Schneider [Fri, 27 Oct 2017 09:22:09 +0000 (11:22 +0200)]
Merge pull request #2181 from rust-lang-nursery/macro_check
Fix dogfood
Oliver Schneider [Fri, 27 Oct 2017 08:51:43 +0000 (10:51 +0200)]
Fix dogfood
Oliver Schneider [Fri, 27 Oct 2017 06:57:15 +0000 (08:57 +0200)]
Merge pull request #2129 from vorner/update-script
Include a conditional update script
llogiq [Thu, 26 Oct 2017 03:44:20 +0000 (05:44 +0200)]
Merge pull request #2175 from lukasstevens/master
Check for arrays with size > 32
Lukas Stevens [Wed, 25 Oct 2017 19:41:31 +0000 (21:41 +0200)]
Check for arrays with size > 32
Oliver Schneider [Tue, 24 Oct 2017 06:19:39 +0000 (08:19 +0200)]
Merge pull request #2154 from durka/ifchain
replace if_let_chain with if_chain
Alex Burka [Mon, 23 Oct 2017 19:20:58 +0000 (15:20 -0400)]
remove if_let_chain
Alex Burka [Mon, 23 Oct 2017 19:20:37 +0000 (15:20 -0400)]
manual fixups if_let_chain -> if_chain
Alex Burka [Mon, 23 Oct 2017 19:18:02 +0000 (15:18 -0400)]
mechanically swap if_let_chain -> if_chain
Oliver Schneider [Mon, 23 Oct 2017 07:25:08 +0000 (09:25 +0200)]
Merge pull request #2136 from ykrivopalov/identity_op_fixing
Identity/erasing operation lints
Oliver Schneider [Mon, 23 Oct 2017 07:21:31 +0000 (09:21 +0200)]
Merge pull request #2143 from HMPerson1/master
Add lint for fallible impls of `From`
Oliver Schneider [Mon, 23 Oct 2017 07:16:44 +0000 (09:16 +0200)]
Merge pull request #2163 from HMPerson1/useless_asref
Add lint for useless `as_ref` calls
HMPerson1 [Sat, 21 Oct 2017 17:42:35 +0000 (13:42 -0400)]
Add tests for generic code
Oliver Schneider [Sat, 21 Oct 2017 15:31:48 +0000 (17:31 +0200)]
Merge pull request #2165 from sinkuu/typo
Fix typo
Oliver Schneider [Sat, 21 Oct 2017 15:23:37 +0000 (17:23 +0200)]
Merge pull request #2161 from MaloJaffre/ignore_lock
Ignore Cargo.lock in .gitignore
sinkuu [Sat, 21 Oct 2017 01:07:24 +0000 (10:07 +0900)]
Fix typo
HMPerson1 [Tue, 17 Oct 2017 16:09:10 +0000 (12:09 -0400)]
Change to `TryFrom`
HMPerson1 [Mon, 16 Oct 2017 21:06:31 +0000 (17:06 -0400)]
Add lint for `From<String>`
HMPerson1 [Fri, 20 Oct 2017 15:39:20 +0000 (11:39 -0400)]
Add lint for useless `as_ref` calls
Malo Jaffré [Fri, 20 Oct 2017 21:20:44 +0000 (23:20 +0200)]
Ignore Cargo.lock in .gitignore
Since the merge of #2146, `Cargo.lock` is no longer checked in the git
repository, but `cargo` generates it anyway, if we are not in the main rust
repository. Ignore it to avoid eventual confusion when contributing directly
to clippy.
Oliver Schneider [Fri, 20 Oct 2017 15:39:34 +0000 (17:39 +0200)]
Merge pull request #2146 from MaloJaffre/println_empty_string
Add PRINTLN_EMPTY_STRING lint.
Oliver Schneider [Fri, 20 Oct 2017 15:37:41 +0000 (17:37 +0200)]
Merge pull request #2151 from gbip/master
Implementation of the `const_static_lifetime` lint.
Malo Jaffré [Fri, 20 Oct 2017 14:45:17 +0000 (16:45 +0200)]
Add PRINTLN_EMPTY_STRING lint.
Paul Florence [Fri, 20 Oct 2017 14:18:54 +0000 (10:18 -0400)]
Merge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy
Paul Florence [Fri, 20 Oct 2017 14:02:43 +0000 (10:02 -0400)]
Final .stderr for `const_static_lifetime`.
Paul Florence [Fri, 20 Oct 2017 13:53:39 +0000 (09:53 -0400)]
Remove "#![feature(plugin)]" in the test".
Paul Florence [Fri, 20 Oct 2017 14:00:44 +0000 (10:00 -0400)]
Better linting : use of span_lint_and_then.
Paul Florence [Fri, 20 Oct 2017 13:56:26 +0000 (09:56 -0400)]
Added the test results.
Paul Florence [Fri, 20 Oct 2017 12:41:24 +0000 (08:41 -0400)]
Fixed some code in clippy to pass the new, removed formatting changes.
Paul Florence [Fri, 20 Oct 2017 13:51:35 +0000 (09:51 -0400)]
Implementation of the `const_static_lifetime` lint.
Oliver Schneider [Fri, 20 Oct 2017 14:13:50 +0000 (16:13 +0200)]
Something went through the cracks of our CI
Oliver Schneider [Fri, 20 Oct 2017 13:24:52 +0000 (15:24 +0200)]
Merge pull request #2156 from cgm616/master
Deprecate should_assert_eq lint
Oliver Schneider [Fri, 20 Oct 2017 09:12:21 +0000 (11:12 +0200)]
Merge pull request #2148 from sinkuu/proc_macro
needless_pass_by_value false-positive in annotation
Oliver Schneider [Fri, 20 Oct 2017 07:27:15 +0000 (09:27 +0200)]
Merge pull request #2147 from clippered/fix-manual-memcpy-on-overlapping-slices
Fix #2123 : check that the source and destination are different for m…
Oliver Schneider [Fri, 20 Oct 2017 07:24:37 +0000 (09:24 +0200)]
Version bump
Oliver Schneider [Fri, 20 Oct 2017 07:20:15 +0000 (09:20 +0200)]
Merge pull request #2153 from rust-lang-nursery/rustup
rustup to rustc 1.22.0-nightly (
b7960878b 2017-10-18)
Oliver Schneider [Fri, 20 Oct 2017 07:02:32 +0000 (09:02 +0200)]
Check the map for promotable instead for existance of a node (which is always the case)
cgm616 [Fri, 20 Oct 2017 04:42:04 +0000 (23:42 -0500)]
Deprecate should_assert_eq lint
This should close #2090.
Manish Goregaokar [Thu, 19 Oct 2017 17:16:03 +0000 (10:16 -0700)]
Fix constant promotion stuff
Manish Goregaokar [Thu, 19 Oct 2017 16:27:58 +0000 (09:27 -0700)]
Pass null borrow context to EUV
Oliver Schneider [Wed, 18 Oct 2017 11:57:29 +0000 (13:57 +0200)]
Merge pull request #2149 from rust-lang-nursery/lockfile
Remove workspace and Cargo.lock
Oliver Schneider [Wed, 18 Oct 2017 06:22:06 +0000 (08:22 +0200)]
Remove workspace and Cargo.lock
sinkuu [Wed, 18 Oct 2017 05:06:38 +0000 (14:06 +0900)]
Add test
sinkuu [Tue, 17 Oct 2017 22:29:47 +0000 (07:29 +0900)]
Detect proc-macro in needless_pass_by_value
Fixes #1876
clippered [Tue, 17 Oct 2017 20:04:35 +0000 (07:04 +1100)]
Fix #2123 : check that the source and destination are different for manual memcpy
Oliver Schneider [Tue, 17 Oct 2017 13:32:50 +0000 (15:32 +0200)]
E-easy -> "good first issue" issue label
Oliver Schneider [Tue, 17 Oct 2017 13:26:41 +0000 (15:26 +0200)]
Merge pull request #2131 from devonhollowood/suggest-print
Suggest print
Oliver Schneider [Tue, 17 Oct 2017 13:24:20 +0000 (15:24 +0200)]
Merge pull request #2120 from sinkuu/implicit_hasher
Implicit hasher lint
sinkuu [Tue, 17 Oct 2017 12:39:24 +0000 (21:39 +0900)]
Type parameter change and type change are now in a multispan suggestion
sinkuu [Tue, 17 Oct 2017 12:12:31 +0000 (21:12 +0900)]
Use cx.access_levels.exported() instead of visibility
Sunjay Varma [Sun, 15 Oct 2017 19:39:47 +0000 (15:39 -0400)]
Updated clippy to account for changes from rust-lang/rust#44766
Michal 'vorner' Vaner [Wed, 11 Oct 2017 18:50:58 +0000 (20:50 +0200)]
Include a conditional update script
Yury Krivopalov [Sun, 15 Oct 2017 07:32:47 +0000 (10:32 +0300)]
Clarify message for erasing_op lint
Yury Krivopalov [Sun, 15 Oct 2017 07:21:56 +0000 (10:21 +0300)]
Simplify checking for all ones in int
Devon Hollowood [Sun, 15 Oct 2017 00:46:19 +0000 (21:46 -0300)]
Improve lint description
Devon Hollowood [Sun, 15 Oct 2017 00:42:14 +0000 (21:42 -0300)]
Change lint filename
suggest_print.rs -> explicit_write.rs
Devon Hollowood [Sun, 15 Oct 2017 00:26:39 +0000 (21:26 -0300)]
Change lint name
From `suggest_print` to `explicit_write`
llogiq [Sat, 14 Oct 2017 20:22:39 +0000 (22:22 +0200)]
Merge pull request #2133 from sinkuu/fix_panic
Fix panic with fake `Range` type
Manish Goregaokar [Sat, 14 Oct 2017 19:49:06 +0000 (15:49 -0400)]
Merge pull request #2138 from joeratt/patch-1
Add link to Rust Github
Joe Rattazzi [Sat, 14 Oct 2017 19:47:38 +0000 (14:47 -0500)]
Add link to Rust Github
Linking to the Rust-lang Github repository: https://github.com/rust-lang/rust
Yury Krivopalov [Sat, 30 Sep 2017 17:14:00 +0000 (20:14 +0300)]
Add erasing_op lint
For expressions that can be replaced by a zero.
Yury Krivopalov [Sat, 30 Sep 2017 08:33:15 +0000 (11:33 +0300)]
identity_op lint fix for '&' with unsigned types
sinkuu [Thu, 12 Oct 2017 14:24:21 +0000 (23:24 +0900)]
Fix panic with fake `Range` type
Devon Hollowood [Thu, 12 Oct 2017 08:54:33 +0000 (05:54 -0300)]
Clarify lint description
Devon Hollowood [Thu, 12 Oct 2017 08:53:20 +0000 (05:53 -0300)]
Fix output for write macros
Devon Hollowood [Thu, 12 Oct 2017 08:35:13 +0000 (05:35 -0300)]
Run rustfmt
Devon Hollowood [Thu, 12 Oct 2017 08:33:00 +0000 (05:33 -0300)]
Add expected output
Devon Hollowood [Thu, 12 Oct 2017 06:18:43 +0000 (03:18 -0300)]
Add suggest_print lint
sinkuu [Wed, 11 Oct 2017 14:08:36 +0000 (23:08 +0900)]
Use `rustc_typeck::hir_ty_to_ty`
sinkuu [Wed, 11 Oct 2017 03:10:10 +0000 (12:10 +0900)]
Apply suggestions
Oliver Schneider [Wed, 11 Oct 2017 11:16:59 +0000 (13:16 +0200)]
Merge pull request #2127 from rust-lang-nursery/enum_variant_names_fp
Don't lint accidental "prefixes" on enum variants
Oliver Schneider [Wed, 11 Oct 2017 06:21:28 +0000 (08:21 +0200)]
Merge pull request #2119 from camsteffen/never_loop
Another never_loop fix
sinkuu [Thu, 5 Oct 2017 14:57:31 +0000 (23:57 +0900)]
Add implicit_hasher lint (#2101)
Cameron Steffen [Tue, 10 Oct 2017 21:30:10 +0000 (16:30 -0500)]
change expect message
Oliver Schneider [Tue, 10 Oct 2017 14:15:03 +0000 (16:15 +0200)]
Merge pull request #2128 from lukasstevens/master
Add lint for opt.map_or(None, f)
Lukas Stevens [Tue, 10 Oct 2017 13:35:24 +0000 (15:35 +0200)]
Make suggested changes
- Fix copy-paste error
- Check for opt.map_or argument after ensuring that opt is an Option
- Use span_lint_and_then and span_suggestion
- Update reference
Lukas Stevens [Tue, 10 Oct 2017 12:04:41 +0000 (14:04 +0200)]
Remove unnecessary borrow
Lukas Stevens [Tue, 10 Oct 2017 10:06:01 +0000 (12:06 +0200)]
Add lint for opt.map_or(None, f)
Change to Warn and add multiline support
Fix typo
Update reference
Oliver Schneider [Tue, 10 Oct 2017 10:15:55 +0000 (12:15 +0200)]
Don't lint accidental "prefixes" on enum variants
Oliver Schneider [Tue, 10 Oct 2017 08:06:14 +0000 (10:06 +0200)]
Merge pull request #2126 from camsteffen/split-tests
Split some UI tests
Oliver Schneider [Tue, 10 Oct 2017 07:39:10 +0000 (09:39 +0200)]
Merge pull request #2122 from sinkuu/local_span
Test failure fix with rustc 1.22.0-nightly (
150b625a0 2017-10-08)
Oliver Schneider [Tue, 10 Oct 2017 07:37:51 +0000 (09:37 +0200)]
Merge pull request #2118 from chyvonomys/relax-needless-loop
relax `needless_range_loop` so that it reports only direct indexing
Cameron Steffen [Tue, 10 Oct 2017 05:14:47 +0000 (00:14 -0500)]
move get_unwrap tests
Cameron Steffen [Tue, 10 Oct 2017 05:03:39 +0000 (00:03 -0500)]
move ok_expect tests
Cameron Steffen [Tue, 10 Oct 2017 04:56:49 +0000 (23:56 -0500)]
move string_extend tests
Cameron Steffen [Tue, 10 Oct 2017 04:15:19 +0000 (23:15 -0500)]
move cstring tests
Cameron Steffen [Tue, 10 Oct 2017 04:07:12 +0000 (23:07 -0500)]
move unnecessary clone tests
Cameron Steffen [Tue, 10 Oct 2017 04:00:47 +0000 (23:00 -0500)]
move single_char_pattern tests
Cameron Steffen [Tue, 10 Oct 2017 03:45:03 +0000 (22:45 -0500)]
move starts_ends_with tests
sinkuu [Mon, 9 Oct 2017 13:49:54 +0000 (22:49 +0900)]
rustc 1.22.0-nightly (
150b625a0 2017-10-08)
Cameron Steffen [Sun, 8 Oct 2017 22:26:39 +0000 (17:26 -0500)]
fix never_loop
Cameron Steffen [Sun, 8 Oct 2017 22:24:32 +0000 (17:24 -0500)]
remove contains_continue functions
Cameron Steffen [Fri, 6 Oct 2017 04:46:08 +0000 (23:46 -0500)]
add never_loop tests
Andriy S. from cobalt [Sun, 8 Oct 2017 19:37:04 +0000 (22:37 +0300)]
tests for `needless_range_loop`
Oliver Schneider [Sun, 8 Oct 2017 18:14:55 +0000 (20:14 +0200)]
Merge pull request #2117 from sinkuu/improve_take_by_value
Improve needless_pass_by_value
Oliver Schneider [Sun, 8 Oct 2017 18:12:26 +0000 (20:12 +0200)]
Merge pull request #2115 from niklasf/fix-manual-testing-docs
Fix manual testing command in docs
Oliver Schneider [Sun, 8 Oct 2017 18:10:23 +0000 (20:10 +0200)]
Merge pull request #2116 from niklasf/range-plus-minus-one
Lint range_plus_one and range_minus_one (closes #329)
Andriy S. from cobalt [Sun, 8 Oct 2017 15:34:31 +0000 (18:34 +0300)]
relax `needless_range_loop` so that it reports only direct indexing
Niklas Fiekas [Sun, 8 Oct 2017 10:43:23 +0000 (12:43 +0200)]
Add tests for range_plus_one and range_minus_one