]>
git.lizzy.rs Git - rust.git/log
Oliver Schneider [Fri, 12 Jan 2018 13:59:06 +0000 (14:59 +0100)]
Merge pull request #2344 from HMPerson1/svar_to_cfn
Add lint to replace `const`s with `const fn`s
Oliver Schneider [Fri, 12 Jan 2018 13:55:39 +0000 (14:55 +0100)]
Merge pull request #2296 from DarrenTsung/test_types
Start regression tests for types.rs
Manish Goregaokar [Fri, 12 Jan 2018 10:33:13 +0000 (16:03 +0530)]
Nightly only
HMPerson1 [Wed, 10 Jan 2018 04:42:07 +0000 (23:42 -0500)]
Add lint to replace `const`s with `const fn`s
Oliver Schneider [Thu, 11 Jan 2018 09:28:42 +0000 (10:28 +0100)]
Don't suggest changing explicit Clone impls if they have generics
Oliver Schneider [Wed, 10 Jan 2018 08:50:58 +0000 (09:50 +0100)]
Version bump
Oliver Schneider [Tue, 9 Jan 2018 13:57:06 +0000 (14:57 +0100)]
Fix an ICE in HashMap generalization suggestions
Oliver Schneider [Tue, 9 Jan 2018 08:10:18 +0000 (09:10 +0100)]
Merge pull request #2316 from tspiteri/doc-names
Add "NaNs" and "GitLab" to `doc-valid-idents`
Oliver Schneider [Mon, 8 Jan 2018 10:42:29 +0000 (11:42 +0100)]
Version bump
Oliver Schneider [Mon, 8 Jan 2018 10:06:28 +0000 (11:06 +0100)]
Merge pull request #2328 from phansch/master
Split up casting UI tests
Oliver Schneider [Mon, 8 Jan 2018 09:56:07 +0000 (10:56 +0100)]
Merge pull request #2334 from Rantanen/ast-fix
Implement nightly libsyntax changes to fix the build
Manish Goregaokar [Mon, 8 Jan 2018 09:39:33 +0000 (15:09 +0530)]
Merge pull request #2339 from phansch/add_some_lint_examples
Add 'positive' examples for some lints
Philipp Hansch [Mon, 8 Jan 2018 09:17:05 +0000 (10:17 +0100)]
Add 'positive' examples for some lints
This allows to see at a quick glance what the improved code could look
like for these lints.
Martin Carton [Sun, 7 Jan 2018 13:12:34 +0000 (14:12 +0100)]
Merge pull request #2337 from phansch/update_readme
Add link to lints in README configuration section
Philipp Hansch [Sun, 7 Jan 2018 11:50:42 +0000 (12:50 +0100)]
Add link to lints in README configuration section
The wiki has been deprecated.
Mikko Rantanen [Sun, 7 Jan 2018 03:58:53 +0000 (05:58 +0200)]
Implement nightly libsyntax changes
Philipp Hansch [Fri, 5 Jan 2018 23:23:28 +0000 (00:23 +0100)]
Split up casting UI tests
Part of #2038
Oliver Schneider [Sat, 6 Jan 2018 09:59:08 +0000 (10:59 +0100)]
Merge pull request #2326 from mikerite/fix_travis_macos
Fix Travis CI build
Michael Wright [Sat, 6 Jan 2018 06:31:39 +0000 (08:31 +0200)]
Fix build
Added comment
Michael Wright [Sat, 6 Jan 2018 06:14:52 +0000 (08:14 +0200)]
Make style consistent
Michael Wright [Thu, 4 Jan 2018 19:17:04 +0000 (21:17 +0200)]
Fix build
Adding gpg key import.
Michael Wright [Thu, 4 Jan 2018 18:39:17 +0000 (20:39 +0200)]
Fix build
Trying the work-around suggested at
https://github.com/travis-ci/travis-ci/issues/6307 to fix the Travis CI
MacOS build.
Manish Goregaokar [Thu, 4 Jan 2018 12:08:54 +0000 (12:08 +0000)]
Merge pull request #2324 from killercup/feature/2319-suggest-empty-println
Add auto-fixable `println!()` suggestion
Pascal Hertleif [Thu, 4 Jan 2018 11:37:47 +0000 (12:37 +0100)]
Add auto-fixable `println!()` suggestion
Fixes #2319
Trevor Spiteri [Tue, 2 Jan 2018 12:51:35 +0000 (13:51 +0100)]
Add "NaNs" and "GitLab" to `doc-valid-idents`
llogiq [Mon, 1 Jan 2018 22:51:04 +0000 (22:51 +0000)]
Merge pull request #2312 from zmt00/master
Fix typos in README, documentation
zmt00 [Mon, 1 Jan 2018 21:55:40 +0000 (13:55 -0800)]
Fix typos in README, documentation
Oliver Schneider [Wed, 27 Dec 2017 22:28:04 +0000 (23:28 +0100)]
Merge pull request #2307 from clarcharr/master
Rearrange README.md.
Clar Charr [Wed, 27 Dec 2017 16:06:40 +0000 (11:06 -0500)]
Rearrange README.md.
This suggests `cargo clippy` first, which is probably the best method at this point. It also describes how to enable clippy only when testing.
Darren Tsung [Sat, 23 Dec 2017 18:15:11 +0000 (10:15 -0800)]
Start regression tests for types.rs
Oliver Schneider [Sat, 23 Dec 2017 00:06:44 +0000 (01:06 +0100)]
Merge pull request #2291 from DarrenTsung/fix_2265
Fix #2265, ignore eq_op lint in macro invocation
Darren Tsung [Fri, 22 Dec 2017 18:54:52 +0000 (10:54 -0800)]
Move in_macro check to end of expression since usual case is not inside macro
Darren Tsung [Fri, 22 Dec 2017 18:51:41 +0000 (10:51 -0800)]
Check that eq_op lint doesn’t mark macro use of functions as errors since macros, fix #2265
Darren Tsung [Fri, 22 Dec 2017 18:37:44 +0000 (10:37 -0800)]
Create failing test for equal inside macro
Manish Goregaokar [Fri, 22 Dec 2017 05:12:54 +0000 (21:12 -0800)]
Merge pull request #2289 from rust-lang-nursery/rustup
Rustup to rustc 1.24.0-nightly (
250b49205 2017-12-21)
Manish Goregaokar [Fri, 22 Dec 2017 04:56:20 +0000 (20:56 -0800)]
Bump to 0.0.177
Manish Goregaokar [Fri, 22 Dec 2017 04:45:01 +0000 (20:45 -0800)]
Universal impl traits get removed earlier now
https://github.com/rust-lang/rust/pull/46754
Manish Goregaokar [Fri, 22 Dec 2017 04:42:47 +0000 (20:42 -0800)]
Update to handle GenericParam
introduced in https://github.com/rust-lang/rust/pull/45930
Martin Carton [Thu, 21 Dec 2017 23:45:50 +0000 (00:45 +0100)]
Merge pull request #2286 from DarrenTsung/readme-clarify-add-lines
Clarify README for new Rust users.
Darren Tsung [Thu, 21 Dec 2017 23:24:18 +0000 (15:24 -0800)]
Add +nightly to command for running cargo build.
Darren Tsung [Thu, 21 Dec 2017 23:21:28 +0000 (15:21 -0800)]
Add “, add these lines” as well as removing the extra space between the attributes to make it more clear that both should be included.
Oliver Schneider [Wed, 20 Dec 2017 20:56:00 +0000 (21:56 +0100)]
Merge pull request #2284 from rust-lang-nursery/new-macro
Move mini-macro to proc macro
Manish Goregaokar [Wed, 20 Dec 2017 16:16:43 +0000 (08:16 -0800)]
Move mini-macro to proc macro
We can add a bang-style proc macro again once it stabilizes (we can use
the proc macro hack, but it's unnecessary for now)
Oliver Schneider [Wed, 20 Dec 2017 10:07:31 +0000 (11:07 +0100)]
Merge pull request #2281 from detrumi/match-as-ref
Lint for matching option as ref
Wilco Kusee [Wed, 20 Dec 2017 09:39:48 +0000 (10:39 +0100)]
Also suggest as_mut for match_as_ref
Wilco Kusee [Tue, 19 Dec 2017 22:22:16 +0000 (23:22 +0100)]
Lint for matching option as ref
Oliver Schneider [Sun, 17 Dec 2017 14:09:41 +0000 (15:09 +0100)]
Merge pull request #2269 from letheed/fix-2267
Disable cast_lossless on const/static items
Oliver Schneider [Fri, 15 Dec 2017 09:02:39 +0000 (10:02 +0100)]
Rustup and lazy_static version mismatch fix
fixes #2274
Martin Carton [Thu, 14 Dec 2017 22:37:43 +0000 (23:37 +0100)]
Merge pull request #2273 from imp/fixlink
Fix crates.io site name
Cyril Plisko [Thu, 14 Dec 2017 22:33:23 +0000 (00:33 +0200)]
Fix crates.io site name
letheed [Mon, 11 Dec 2017 15:16:44 +0000 (16:16 +0100)]
Disable cast_lossless on const items
Oliver Schneider [Thu, 7 Dec 2017 10:20:48 +0000 (11:20 +0100)]
Update ui tests to latest rustc changes
Oliver Schneider [Thu, 7 Dec 2017 07:09:46 +0000 (08:09 +0100)]
Try fixing const_with_static_lifetime docs
Oliver Schneider [Sat, 2 Dec 2017 12:02:02 +0000 (13:02 +0100)]
Version bump
Oliver Schneider [Sat, 2 Dec 2017 11:59:37 +0000 (12:59 +0100)]
Merge pull request #2255 from topecongiro/rustup-2017-12-01
Rustup to rustc 1.24.0-nightly (
bb42071f6 2017-12-01)
Seiichi Uchida [Sat, 2 Dec 2017 09:23:32 +0000 (18:23 +0900)]
Rustup to rustc 1.24.0-nightly (
bb42071f6 2017-12-01)
Oliver Schneider [Fri, 1 Dec 2017 20:07:11 +0000 (21:07 +0100)]
Merge pull request #2254 from LaurentMazare/master
Avoid the MATCH_SAME_ARMS warning when two arms are separated by an arm with a guard
laurent [Fri, 1 Dec 2017 19:59:40 +0000 (19:59 +0000)]
Revert the regex test change.
laurent [Fri, 1 Dec 2017 19:27:02 +0000 (19:27 +0000)]
Bugfix the bugfix.
laurent [Fri, 1 Dec 2017 19:25:43 +0000 (19:25 +0000)]
Do raise a same-arms warning when the two arms are separated by an arm with a guard, fix #1996.
Oliver Schneider [Fri, 1 Dec 2017 07:10:30 +0000 (08:10 +0100)]
Merge pull request #2166 from HMPerson1/fix_2160
Fix #2160
HMPerson1 [Fri, 1 Dec 2017 00:50:31 +0000 (19:50 -0500)]
Update ui test
HMPerson1 [Fri, 1 Dec 2017 00:38:29 +0000 (19:38 -0500)]
Add linting for empty blocks too
HMPerson1 [Sat, 21 Oct 2017 01:26:41 +0000 (21:26 -0400)]
Fix #2160
Oliver Schneider [Thu, 30 Nov 2017 09:54:55 +0000 (10:54 +0100)]
Fix #1925
Oliver Schneider [Thu, 30 Nov 2017 09:53:48 +0000 (10:53 +0100)]
Merge pull request #2251 from LaurentMazare/master
Add a couple small tests to the match-same-arm lint + fix a small issue in search_same.
Oliver Schneider [Thu, 30 Nov 2017 08:31:23 +0000 (09:31 +0100)]
Use latest compiletest
laurent [Wed, 29 Nov 2017 21:42:58 +0000 (21:42 +0000)]
Fix a bug in search_same + add a test case.
laurent [Wed, 29 Nov 2017 20:52:49 +0000 (20:52 +0000)]
Add another test.
laurent [Wed, 29 Nov 2017 20:42:37 +0000 (20:42 +0000)]
Add a couple small tests to the match-same-arm lint.
Oliver Schneider [Wed, 29 Nov 2017 16:20:00 +0000 (17:20 +0100)]
Fix #2188
Oliver Schneider [Wed, 29 Nov 2017 16:10:53 +0000 (17:10 +0100)]
Fix placement of new_without_default suggestion
Oliver Schneider [Wed, 29 Nov 2017 16:06:27 +0000 (17:06 +0100)]
Fix #2196
Oliver Schneider [Wed, 29 Nov 2017 15:05:13 +0000 (16:05 +0100)]
Add regression test (fixes #2234)
Oliver Schneider [Wed, 29 Nov 2017 15:03:05 +0000 (16:03 +0100)]
Fix #2245
Oliver Schneider [Wed, 29 Nov 2017 14:52:57 +0000 (15:52 +0100)]
Fix #2247
Oliver Schneider [Wed, 29 Nov 2017 14:45:12 +0000 (15:45 +0100)]
Update ui output to latest nightly
Oliver Schneider [Mon, 27 Nov 2017 10:05:37 +0000 (11:05 +0100)]
Merge pull request #2246 from lukasstevens/master
Check for word beginning in stutter lint
Oliver Schneider [Mon, 27 Nov 2017 09:31:00 +0000 (10:31 +0100)]
Merge pull request #2248 from rust-lang-nursery/oli-obk-patch-1
Update stderr output to rustc changes
Oliver Schneider [Mon, 27 Nov 2017 09:20:38 +0000 (10:20 +0100)]
Update stderr output to rustc changes
Lukas Stevens [Sun, 26 Nov 2017 17:57:34 +0000 (18:57 +0100)]
Update ui tests
Lukas Stevens [Sun, 26 Nov 2017 17:36:12 +0000 (18:36 +0100)]
Check for word beginning in stutter lint
Martin Carton [Wed, 22 Nov 2017 21:18:41 +0000 (22:18 +0100)]
Merge pull request #2243 from phansch/fix-license-badge-link
Fix license badge anchor link
Philipp Hansch [Wed, 22 Nov 2017 20:26:11 +0000 (21:26 +0100)]
Fix license badge anchor link [skip ci]
The anchor name is lowercase, not uppercase.
Oliver Schneider [Wed, 22 Nov 2017 09:55:12 +0000 (10:55 +0100)]
Rustup
Oliver Schneider [Tue, 21 Nov 2017 07:17:28 +0000 (08:17 +0100)]
Version bump
Oliver Schneider [Tue, 21 Nov 2017 07:12:35 +0000 (08:12 +0100)]
Merge pull request #2240 from Frederick888/fix-2239
Fixes #2239
Frederick Zhang [Tue, 21 Nov 2017 05:51:36 +0000 (16:51 +1100)]
fix usage of LayoutDetails
Oliver Schneider [Mon, 20 Nov 2017 08:51:12 +0000 (09:51 +0100)]
Merge pull request #2203 from clippered/float_cmp_const
Fix #1142 float constant comparison lint
Oliver Schneider [Mon, 20 Nov 2017 08:26:22 +0000 (09:26 +0100)]
Merge pull request #2230 from LaurentMazare/master
More refactoring around boolean expression suggestion.
Laurent Mazare [Mon, 20 Nov 2017 07:47:28 +0000 (07:47 +0000)]
Fix for the new nightly version.
laurent [Sun, 19 Nov 2017 09:07:50 +0000 (09:07 +0000)]
More tests.
laurent [Fri, 17 Nov 2017 21:52:11 +0000 (21:52 +0000)]
Bugfix + add test.
laurent [Fri, 17 Nov 2017 21:42:25 +0000 (21:42 +0000)]
Remove the brackets argument.
laurent [Fri, 17 Nov 2017 21:18:32 +0000 (21:18 +0000)]
Use a struct to store most of the recurse parameters for boolean expr suggestion.
Oliver Schneider [Sun, 19 Nov 2017 08:28:47 +0000 (09:28 +0100)]
Merge pull request #2232 from rust-lang-nursery/fixup-const-static-lifetime
Fixup "const static lifetime" lint for non-path types
Oliver Schneider [Sun, 19 Nov 2017 08:26:13 +0000 (09:26 +0100)]
Merge pull request #2235 from b-r-u/master
Ignore identifier 'OpenStreetMap' for DOC_MARKDOWN lint
Johannes Hofmann [Sat, 18 Nov 2017 18:13:07 +0000 (19:13 +0100)]
Ignore identifier 'OpenStreetMap' for DOC_MARKDOWN lint
Georg Brandl [Sat, 18 Nov 2017 15:11:55 +0000 (16:11 +0100)]
tests: fixup arg handling for update-all-references
This script does not take any args, so $1 being empty is expected.
Georg Brandl [Sat, 18 Nov 2017 15:11:07 +0000 (16:11 +0100)]
CONTRIBUTING: clarify how to regenerate ui test output