]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agoBuild path from current_dir
Shotaro Yamada [Thu, 9 Nov 2017 05:47:14 +0000 (14:47 +0900)]
Build path from current_dir

6 years agoUse compiletest 0.3
Shotaro Yamada [Thu, 9 Nov 2017 02:05:49 +0000 (11:05 +0900)]
Use compiletest 0.3

6 years agoMerge pull request #2209 from sinkuu/trait_methods
Oliver Schneider [Tue, 7 Nov 2017 07:26:32 +0000 (08:26 +0100)]
Merge pull request #2209 from sinkuu/trait_methods

Fix false positive in needless_pass_by_value trait methods

6 years agoMerge pull request #2206 from LaurentMazare/master
Oliver Schneider [Tue, 7 Nov 2017 07:24:49 +0000 (08:24 +0100)]
Merge pull request #2206 from LaurentMazare/master

Refactor the never-loop lint.

6 years agoFix broken tests.
laurent [Mon, 6 Nov 2017 23:26:44 +0000 (23:26 +0000)]
Fix broken tests.

6 years agoFix merge issues.
laurent [Mon, 6 Nov 2017 23:22:19 +0000 (23:22 +0000)]
Fix merge issues.

6 years agoFix false positive in needless_pass_by_value trait methods
sinkuu [Mon, 6 Nov 2017 21:33:25 +0000 (06:33 +0900)]
Fix false positive in needless_pass_by_value trait methods

6 years agoRustup
sinkuu [Mon, 6 Nov 2017 21:32:12 +0000 (06:32 +0900)]
Rustup

6 years agoVersion bump
Oliver Schneider [Mon, 6 Nov 2017 07:17:25 +0000 (08:17 +0100)]
Version bump

6 years ago`rls.toml` is not the way to go anymore
Oliver Schneider [Mon, 6 Nov 2017 07:15:11 +0000 (08:15 +0100)]
`rls.toml` is not the way to go anymore

6 years agoMerge pull request #2202 from topecongiro/format
Oliver Schneider [Mon, 6 Nov 2017 07:35:52 +0000 (08:35 +0100)]
Merge pull request #2202 from topecongiro/format

Run `cargo fmt`

6 years agoMerge pull request #2205 from kraai/2204
Oliver Schneider [Mon, 6 Nov 2017 07:12:28 +0000 (08:12 +0100)]
Merge pull request #2205 from kraai/2204

Fix compilation errors with rustc 1.23.0-nightly (d762b1d6c 2017-11-04)

6 years agoMerge pull request #2197 from AlexEne/dissalow-underscores-and-numbrers
Oliver Schneider [Mon, 6 Nov 2017 07:11:45 +0000 (08:11 +0100)]
Merge pull request #2197 from AlexEne/dissalow-underscores-and-numbrers

Warns if variable name is composed only of underscores and digits.

6 years agoClean the code a bit.
laurent [Sun, 5 Nov 2017 15:45:23 +0000 (15:45 +0000)]
Clean the code a bit.

6 years agoMake the dogfood test happy.
laurent [Sun, 5 Nov 2017 15:17:28 +0000 (15:17 +0000)]
Make the dogfood test happy.

6 years agoCosmetic change.
laurent [Sun, 5 Nov 2017 15:04:01 +0000 (15:04 +0000)]
Cosmetic change.

6 years agoBugfix.
laurent [Sun, 5 Nov 2017 14:56:15 +0000 (14:56 +0000)]
Bugfix.

6 years agoRefactor the never-loop detection, fixes #1991.
laurent [Sun, 5 Nov 2017 14:43:28 +0000 (14:43 +0000)]
Refactor the never-loop detection, fixes #1991.

6 years agoFix compilation errors with rustc 1.23.0-nightly (d762b1d6c 2017-11-04)
Matt Kraai [Sun, 5 Nov 2017 12:19:11 +0000 (04:19 -0800)]
Fix compilation errors with rustc 1.23.0-nightly (d762b1d6c 2017-11-04)

Fixes #2204

6 years agoFix lines that exceed max width manually
topecongiro [Sat, 4 Nov 2017 19:56:05 +0000 (04:56 +0900)]
Fix lines that exceed max width manually

6 years agoCargo fmt
topecongiro [Sat, 4 Nov 2017 19:55:56 +0000 (04:55 +0900)]
Cargo fmt

6 years agoUpdate rustfmt.toml
topecongiro [Sat, 4 Nov 2017 19:36:56 +0000 (04:36 +0900)]
Update rustfmt.toml

6 years agoFix excessive indentation in if_chain!
topecongiro [Sat, 4 Nov 2017 19:25:13 +0000 (04:25 +0900)]
Fix excessive indentation in if_chain!

6 years agoAddressed PR comments
Alexandru Ene [Fri, 3 Nov 2017 20:54:33 +0000 (20:54 +0000)]
Addressed PR comments

6 years agoMerge pull request #2199 from sinkuu/needless_pass_by_value_method
Oliver Schneider [Fri, 3 Nov 2017 09:41:02 +0000 (10:41 +0100)]
Merge pull request #2199 from sinkuu/needless_pass_by_value_method

 Extend needless_pass_by_value to methods

6 years agoAdd test to take `Self` as an argument
sinkuu [Fri, 3 Nov 2017 08:56:26 +0000 (17:56 +0900)]
Add test to take `Self` as an argument

6 years ago&Self
sinkuu [Fri, 3 Nov 2017 08:56:17 +0000 (17:56 +0900)]
&Self

6 years agoFix test
sinkuu [Fri, 3 Nov 2017 08:24:28 +0000 (17:24 +0900)]
Fix test

6 years agoExtend needless_pass_by_value to methods
sinkuu [Fri, 3 Nov 2017 08:24:10 +0000 (17:24 +0900)]
Extend needless_pass_by_value to methods

6 years agoMerge pull request #2168 from cgm616/master
Oliver Schneider [Fri, 3 Nov 2017 08:25:29 +0000 (09:25 +0100)]
Merge pull request #2168 from cgm616/master

Prevent linting should_implement_trait on private methods

6 years agoUpdate tests
cgm616 [Fri, 3 Nov 2017 04:54:35 +0000 (23:54 -0500)]
Update tests

6 years agoSwitch to new method of checking access
cgm616 [Fri, 3 Nov 2017 04:53:48 +0000 (23:53 -0500)]
Switch to new method of checking access

6 years agoMerge branch 'master' of github.com:rust-lang-nursery/rust-clippy
cgm616 [Fri, 3 Nov 2017 03:57:07 +0000 (22:57 -0500)]
Merge branch 'master' of github.com:rust-lang-nursery/rust-clippy

6 years agoWarns if variable name is composed only of underscores and digits.
Alexandru Ene [Fri, 3 Nov 2017 01:01:41 +0000 (01:01 +0000)]
Warns if variable name is composed only of underscores and digits.

6 years agoMerge pull request #2194 from martinlindhe/master
Oliver Schneider [Thu, 2 Nov 2017 09:30:10 +0000 (10:30 +0100)]
Merge pull request #2194 from martinlindhe/master

fix some typos

6 years agoMerge pull request #2189 from gendx/pr-1590
Oliver Schneider [Thu, 2 Nov 2017 09:29:30 +0000 (10:29 +0100)]
Merge pull request #2189 from gendx/pr-1590

Start working on #1590

6 years agoMerge pull request #2193 from sinkuu/u8_str_transmute
Oliver Schneider [Thu, 2 Nov 2017 07:15:52 +0000 (08:15 +0100)]
Merge pull request #2193 from sinkuu/u8_str_transmute

Lint `transmute::<&[u8], &str>`

6 years agoMerge pull request #2195 from topecongiro/minor-fixes
Manish Goregaokar [Wed, 1 Nov 2017 22:56:03 +0000 (15:56 -0700)]
Merge pull request #2195 from topecongiro/minor-fixes

Minor fixes

6 years agoFix a typo
topecongiro [Wed, 1 Nov 2017 22:18:34 +0000 (07:18 +0900)]
Fix a typo

6 years agoRemove an unused binary file
topecongiro [Wed, 1 Nov 2017 22:13:59 +0000 (07:13 +0900)]
Remove an unused binary file

6 years agoAvoid panicking when no arg is given to clippy_driver
topecongiro [Wed, 1 Nov 2017 22:13:14 +0000 (07:13 +0900)]
Avoid panicking when no arg is given to clippy_driver

6 years agoUse is_ok()
topecongiro [Wed, 1 Nov 2017 22:09:46 +0000 (07:09 +0900)]
Use is_ok()

6 years agoKnown problems
sinkuu [Wed, 1 Nov 2017 14:29:40 +0000 (23:29 +0900)]
Known problems

6 years agoKnown problems
sinkuu [Wed, 1 Nov 2017 12:10:48 +0000 (21:10 +0900)]
Known problems

6 years agoLint `transmute::<&[u8], &str>`
sinkuu [Sun, 29 Oct 2017 01:27:45 +0000 (10:27 +0900)]
Lint `transmute::<&[u8], &str>`

6 years agoMerge pull request #2191 from rust-lang-nursery/rustup
Manish Goregaokar [Tue, 31 Oct 2017 20:26:27 +0000 (13:26 -0700)]
Merge pull request #2191 from rust-lang-nursery/rustup

Rust upgrade to rustc 1.23.0-nightly (f0fe716db 2017-10-30)

6 years agoBump to 0.0.168
Manish Goregaokar [Tue, 31 Oct 2017 01:23:06 +0000 (18:23 -0700)]
Bump to 0.0.168

6 years agoFix lint_without_lint_pass
kennytm [Tue, 31 Oct 2017 17:03:54 +0000 (10:03 -0700)]
Fix lint_without_lint_pass

6 years agofix some typos
Martin Lindhe [Tue, 31 Oct 2017 07:34:27 +0000 (08:34 +0100)]
fix some typos

6 years agoUpdate clippy for rustc 1.23.0-nightly (f0fe716db 2017-10-30)
Manish Goregaokar [Tue, 31 Oct 2017 01:21:23 +0000 (18:21 -0700)]
Update clippy for rustc 1.23.0-nightly (f0fe716db 2017-10-30)

6 years agoUpdate UI tests.
G. Endignoux [Mon, 30 Oct 2017 13:10:38 +0000 (14:10 +0100)]
Update UI tests.

6 years agoStart working on #1590
G. Endignoux [Mon, 30 Oct 2017 12:04:26 +0000 (13:04 +0100)]
Start working on #1590

6 years agoMerge pull request #2187 from rust-lang-nursery/rustup
Manish Goregaokar [Mon, 30 Oct 2017 04:00:31 +0000 (21:00 -0700)]
Merge pull request #2187 from rust-lang-nursery/rustup

Rustup to rustc 1.23.0-nightly (90ef3372e 2017-10-29)

6 years agoBump to 0.0.167 (rustup to rustc 1.23.0-nightly (90ef3372e 2017-10-29))
Manish Goregaokar [Sun, 29 Oct 2017 09:30:33 +0000 (05:30 -0400)]
Bump to 0.0.167 (rustup to rustc 1.23.0-nightly (90ef3372e 2017-10-29))

6 years agoHandle TyForeign
Manish Goregaokar [Sun, 29 Oct 2017 09:21:25 +0000 (05:21 -0400)]
Handle TyForeign

6 years agoUpdate tests; make it work with generics on context
Manish Goregaokar [Sat, 28 Oct 2017 18:52:45 +0000 (14:52 -0400)]
Update tests; make it work with generics on context

6 years agoAdd tests for pub_restricted
cgm616 [Sat, 28 Oct 2017 18:24:39 +0000 (13:24 -0500)]
Add tests for pub_restricted

6 years agoFix mistake in merging
cgm616 [Sat, 28 Oct 2017 18:23:05 +0000 (13:23 -0500)]
Fix mistake in merging

6 years agoMerge branch 'pr-2140'
Manish Goregaokar [Sat, 28 Oct 2017 18:04:25 +0000 (14:04 -0400)]
Merge branch 'pr-2140'

6 years agoMerge branch 'master' of github.com:rust-lang-nursery/rust-clippy
cgm616 [Sat, 28 Oct 2017 17:55:16 +0000 (12:55 -0500)]
Merge branch 'master' of github.com:rust-lang-nursery/rust-clippy

6 years agoMerge pull request #2181 from rust-lang-nursery/macro_check
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

6 years agoFix dogfood
Oliver Schneider [Fri, 27 Oct 2017 08:51:43 +0000 (10:51 +0200)]
Fix dogfood

6 years agoMerge pull request #2129 from vorner/update-script
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

6 years agoMerge pull request #2175 from lukasstevens/master
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

6 years agoCheck for arrays with size > 32
Lukas Stevens [Wed, 25 Oct 2017 19:41:31 +0000 (21:41 +0200)]
Check for arrays with size > 32

6 years agoMerge pull request #2154 from durka/ifchain
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

6 years agoremove if_let_chain
Alex Burka [Mon, 23 Oct 2017 19:20:58 +0000 (15:20 -0400)]
remove if_let_chain

6 years agomanual fixups if_let_chain -> if_chain
Alex Burka [Mon, 23 Oct 2017 19:20:37 +0000 (15:20 -0400)]
manual fixups if_let_chain -> if_chain

6 years agomechanically swap 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

6 years agoMerge pull request #2136 from ykrivopalov/identity_op_fixing
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

6 years agoMerge pull request #2143 from HMPerson1/master
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`

6 years agoMerge pull request #2163 from HMPerson1/useless_asref
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

6 years agoMerge branch 'master' of github.com:rust-lang-nursery/rust-clippy
cgm616 [Sun, 22 Oct 2017 14:14:44 +0000 (10:14 -0400)]
Merge branch 'master' of github.com:rust-lang-nursery/rust-clippy

6 years agoUndo rustfmt changes unrelated to issue
cgm616 [Sun, 22 Oct 2017 13:59:19 +0000 (09:59 -0400)]
Undo rustfmt changes unrelated to issue

6 years agoAdd tests for generic code
HMPerson1 [Sat, 21 Oct 2017 17:42:35 +0000 (13:42 -0400)]
Add tests for generic code

6 years agoMerge pull request #2165 from sinkuu/typo
Oliver Schneider [Sat, 21 Oct 2017 15:31:48 +0000 (17:31 +0200)]
Merge pull request #2165 from sinkuu/typo

Fix typo

6 years agoMerge pull request #2161 from MaloJaffre/ignore_lock
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

6 years agoPrevent should_implement_trait on private method
cgm616 [Sat, 21 Oct 2017 11:53:57 +0000 (07:53 -0400)]
Prevent should_implement_trait on private method

This should close #2159.

6 years agoFix typo
sinkuu [Sat, 21 Oct 2017 01:07:24 +0000 (10:07 +0900)]
Fix typo

6 years agoChange to `TryFrom`
HMPerson1 [Tue, 17 Oct 2017 16:09:10 +0000 (12:09 -0400)]
Change to `TryFrom`

6 years agoAdd lint for `From<String>`
HMPerson1 [Mon, 16 Oct 2017 21:06:31 +0000 (17:06 -0400)]
Add lint for `From<String>`

6 years agoAdd lint for useless `as_ref` calls
HMPerson1 [Fri, 20 Oct 2017 15:39:20 +0000 (11:39 -0400)]
Add lint for useless `as_ref` calls

6 years agoIgnore Cargo.lock in .gitignore
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.

6 years agoMerge pull request #2146 from MaloJaffre/println_empty_string
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.

6 years agoMerge pull request #2151 from gbip/master
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.

6 years agoAdd PRINTLN_EMPTY_STRING lint.
Malo Jaffré [Fri, 20 Oct 2017 14:45:17 +0000 (16:45 +0200)]
Add PRINTLN_EMPTY_STRING lint.

6 years agoMerge branch 'master' of https://github.com/rust-lang-nursery/rust-clippy
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

6 years agoFinal .stderr for `const_static_lifetime`.
Paul Florence [Fri, 20 Oct 2017 14:02:43 +0000 (10:02 -0400)]
Final .stderr for `const_static_lifetime`.

6 years agoRemove "#![feature(plugin)]" in the test".
Paul Florence [Fri, 20 Oct 2017 13:53:39 +0000 (09:53 -0400)]
Remove "#![feature(plugin)]" in the test".

6 years agoBetter linting : use of span_lint_and_then.
Paul Florence [Fri, 20 Oct 2017 14:00:44 +0000 (10:00 -0400)]
Better linting : use of span_lint_and_then.

6 years agoAdded the test results.
Paul Florence [Fri, 20 Oct 2017 13:56:26 +0000 (09:56 -0400)]
Added the test results.

6 years agoFixed some code in clippy to pass the new, removed formatting changes.
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.

6 years agoImplementation of the `const_static_lifetime` lint.
Paul Florence [Fri, 20 Oct 2017 13:51:35 +0000 (09:51 -0400)]
Implementation of the `const_static_lifetime` lint.

6 years agoSomething went through the cracks of our CI
Oliver Schneider [Fri, 20 Oct 2017 14:13:50 +0000 (16:13 +0200)]
Something went through the cracks of our CI

6 years agoMerge pull request #2156 from cgm616/master
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

6 years agoMerge pull request #2148 from sinkuu/proc_macro
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

6 years agoMerge pull request #2147 from clippered/fix-manual-memcpy-on-overlapping-slices
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…

6 years agoVersion bump
Oliver Schneider [Fri, 20 Oct 2017 07:24:37 +0000 (09:24 +0200)]
Version bump

6 years agoMerge pull request #2153 from rust-lang-nursery/rustup
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)

6 years agoCheck the map for promotable instead for existance of a node (which is always the...
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)