]>
git.lizzy.rs Git - rust.git/log
Philipp Hansch [Thu, 7 Jun 2018 18:00:45 +0000 (20:00 +0200)]
Merge pull request #2835 from FauxFaux/patch-1
Tiny typo in rust-update script
Chris West [Thu, 7 Jun 2018 16:47:11 +0000 (17:47 +0100)]
Tiny typo in rust-update script
Oliver Schneider [Thu, 7 Jun 2018 09:52:32 +0000 (11:52 +0200)]
Merge pull request #2833 from phansch/cannot_relate_bound_region_without_ICE_cream
Fix cargo late bound region mismatch ICE
Philipp Hansch [Fri, 18 May 2018 20:56:25 +0000 (22:56 +0200)]
Fix cargo late bound region mismatch ICE
Oliver Schneider [Wed, 6 Jun 2018 13:17:47 +0000 (15:17 +0200)]
Merge pull request #2804 from utaal/expr-call-author
Add support for ExprCall in clippy::author
Oliver Schneider [Tue, 5 Jun 2018 15:08:33 +0000 (17:08 +0200)]
Merge pull request #2814 from VKlayd/fn_to_int
WIP: Add lint on cast Fn to all numerical except usize.
Oliver Schneider [Sun, 3 Jun 2018 21:23:59 +0000 (23:23 +0200)]
Merge pull request #2827 from 0ndorio/lint/cmp_operators_on_partial_cmp
Added lint to avoid negated comparisions on partially ordered types. (fixes #2626)
Bruno Kirschner [Sun, 3 Jun 2018 16:46:11 +0000 (18:46 +0200)]
Cleaned implements_ord helper function in boolean lint file.
Bruno Kirschner [Fri, 1 Jun 2018 13:13:53 +0000 (15:13 +0200)]
Reduced scope of `nonminimal_bool` so that it doesn't evaluate only partially orded types.
Bruno Kirschner [Fri, 1 Jun 2018 12:40:53 +0000 (14:40 +0200)]
Fixed spelling and indentation issues in neg_cmp_op_on_partial_ord related files.
Bruno Kirschner [Fri, 1 Jun 2018 11:40:41 +0000 (13:40 +0200)]
Use declare_clippy_lint instead of declare_lint.
Bruno Kirschner [Fri, 1 Jun 2018 09:58:40 +0000 (11:58 +0200)]
Added lint to avoid negated comparisions on partially ordered types.
Oliver Schneider [Sun, 3 Jun 2018 10:53:45 +0000 (12:53 +0200)]
Merge pull request #2813 from terry90/master
unreadable_literal: Fills hexadecimal values with 0 to allow better grouping
Terry Raimondo [Sun, 3 Jun 2018 10:26:50 +0000 (12:26 +0200)]
Compute digits vec only once
Oliver Schneider [Sun, 3 Jun 2018 06:59:10 +0000 (08:59 +0200)]
Version bump
Victor Korkin [Fri, 1 Jun 2018 16:08:11 +0000 (23:08 +0700)]
Divide FN_TO_NUMERIC lint into two.
FN_TO_NUMERIC_CAST_WITH_TRUNCATION is correctness check
FN_TO_NUMERIC_CAST is only style check
Oliver Schneider [Thu, 31 May 2018 11:33:35 +0000 (13:33 +0200)]
Merge pull request #2816 from mockersf/multiple-impl
adding to restriction a lint that check for multiple inherent implementations
Oliver Schneider [Thu, 31 May 2018 10:02:09 +0000 (12:02 +0200)]
Merge pull request #2819 from zayenz/no-op-ref-in-macro
avoid op-ref in macros
Oliver Schneider [Thu, 31 May 2018 09:53:48 +0000 (11:53 +0200)]
Merge pull request #2825 from Nemo157/test-toml
Get compile-test tests for configuration working
Victor Korkin [Thu, 31 May 2018 02:00:13 +0000 (09:00 +0700)]
Add one more test
Wim Looman [Wed, 30 May 2018 19:26:09 +0000 (21:26 +0200)]
Use compiletest::make_tests to allow it to setup the output folders
Wim Looman [Wed, 30 May 2018 18:29:00 +0000 (20:29 +0200)]
Get compile-test tests for configuration working
Oliver Schneider [Wed, 30 May 2018 13:55:11 +0000 (15:55 +0200)]
Merge pull request #2821 from mati865/rust-2018-migration
Rust 2018 migration
Victor Korkin [Wed, 30 May 2018 09:55:03 +0000 (16:55 +0700)]
Fix 'help' message
Mateusz Mikuła [Wed, 30 May 2018 09:20:34 +0000 (11:20 +0200)]
Update integration test
Mateusz Mikuła [Wed, 30 May 2018 08:18:52 +0000 (10:18 +0200)]
Upgrade to edition 2018
Mateusz Mikuła [Wed, 30 May 2018 08:15:50 +0000 (10:15 +0200)]
Run rustfix
Mateusz Mikuła [Wed, 30 May 2018 08:05:06 +0000 (10:05 +0200)]
Add rust_2018_preview feature and fix rustfmt annotation
Victor Korkin [Wed, 30 May 2018 04:48:46 +0000 (11:48 +0700)]
Fixes for suggestion message, tests and lint explanation.
Victor Korkin [Wed, 30 May 2018 00:55:48 +0000 (07:55 +0700)]
weird thing
Oliver Schneider [Tue, 29 May 2018 19:46:47 +0000 (21:46 +0200)]
Merge pull request #2759 from devonhollowood/transmute-same-ptr-ptr
Don't lint lifetime-only transmutes
François Mockers [Tue, 29 May 2018 08:19:16 +0000 (10:19 +0200)]
move lint to restriction group
François Mockers [Tue, 29 May 2018 01:27:53 +0000 (03:27 +0200)]
only install remark if not on an integration build to avoid ddosing npm
François Mockers [Tue, 29 May 2018 00:17:55 +0000 (02:17 +0200)]
adding to pedantic a lint that check for multiple inherent implementations
Devon Hollowood [Tue, 29 May 2018 05:12:42 +0000 (22:12 -0700)]
Simplify lifetime-differences-only detection
Now instead of reinventing the wheel with differ_only_in_lifetimes(), we
use TyCtxt's erase_regions()
Devon Hollowood [Fri, 25 May 2018 03:02:42 +0000 (20:02 -0700)]
Fix behavior with generic lifetime parameters
Devon Hollowood [Wed, 23 May 2018 00:18:56 +0000 (17:18 -0700)]
Test that we allow non-static lifetime transmutes
Devon Hollowood [Mon, 14 May 2018 17:24:31 +0000 (12:24 -0500)]
Don't lint lifetime-only transmutes
Victor Korkin [Tue, 29 May 2018 15:56:38 +0000 (22:56 +0700)]
Change lint type to unique and add the suggestion.
Oliver Schneider [Tue, 29 May 2018 13:30:32 +0000 (15:30 +0200)]
Merge pull request #2820 from flip1995/unused_def_conf
Remove unused define_conf-macro definitions
flip1995 [Tue, 29 May 2018 12:51:16 +0000 (14:51 +0200)]
Remove unused define_conf-macro definitions
Oliver Schneider [Tue, 29 May 2018 12:45:10 +0000 (14:45 +0200)]
Fix dogfood
Mikael Zayenz Lagerkvist [Tue, 29 May 2018 11:17:37 +0000 (13:17 +0200)]
avoid op-ref in macros
Avoid running op-ref inspection in macros since the macro
may be invoked in many different types of contexts.
Solves #2818 and incidentally avoids #2689.
Oliver Schneider [Tue, 29 May 2018 09:58:58 +0000 (11:58 +0200)]
Version bump
Oliver Schneider [Tue, 29 May 2018 09:51:55 +0000 (11:51 +0200)]
Merge pull request #2817 from mati865/rustup
Update to nightly 2018-05-28
Mateusz Mikuła [Tue, 29 May 2018 08:56:58 +0000 (10:56 +0200)]
Update to nightly 2018-05-28
Victor Korkin [Mon, 28 May 2018 16:49:38 +0000 (23:49 +0700)]
Little fix for test
Victor Korkin [Mon, 28 May 2018 16:31:55 +0000 (23:31 +0700)]
Add lint on cast Fn to numerical.
Andrea Lattuada [Mon, 28 May 2018 12:50:41 +0000 (14:50 +0200)]
author tests: update for_loop.stdout file
Andrea Lattuada [Sun, 27 May 2018 14:04:28 +0000 (16:04 +0200)]
Test for ExprCall in clippy::author
Andrea Lattuada [Sun, 27 May 2018 13:45:01 +0000 (15:45 +0200)]
Add support for ExprCall in clippy::author
Terry Raimondo [Mon, 28 May 2018 12:43:44 +0000 (14:43 +0200)]
Update other tests
Terry Raimondo [Mon, 28 May 2018 12:12:20 +0000 (14:12 +0200)]
Add tests
Fix tests
Terry Raimondo [Mon, 28 May 2018 11:55:27 +0000 (13:55 +0200)]
unreadable_literal: Fills hexadecimal values with 0 to allow grouping (c.f #2300)
Oliver Schneider [Mon, 28 May 2018 11:50:31 +0000 (13:50 +0200)]
Merge pull request #2808 from Aaronepower/master
Added lint for unnecessary references.
Aaron Power [Mon, 28 May 2018 07:29:02 +0000 (09:29 +0200)]
Added lint for unnecessary references
Oliver Schneider [Mon, 28 May 2018 10:59:25 +0000 (12:59 +0200)]
Merge pull request #2810 from Aaronepower/stable_feature_flags
Removed stable feature flags
Oliver Schneider [Mon, 28 May 2018 10:55:44 +0000 (12:55 +0200)]
Merge pull request #2806 from mockersf/loop-mut-cond
better parsing of condition in while loop for mutability
Oliver Schneider [Mon, 28 May 2018 10:51:44 +0000 (12:51 +0200)]
Merge pull request #2805 from reiner-dolp/update_lints
running update lints script
Oliver Schneider [Mon, 28 May 2018 10:44:24 +0000 (12:44 +0200)]
Merge pull request #2809 from Aaronepower/if_chain_clean
Refactored nested if lets to if_chain! macro
Aaron Power [Mon, 28 May 2018 08:03:27 +0000 (10:03 +0200)]
Removed stable feature flags
Aaron Power [Mon, 28 May 2018 07:50:25 +0000 (09:50 +0200)]
Refactored nested if lets to if_chain! macro
François Mockers [Sun, 27 May 2018 21:59:07 +0000 (23:59 +0200)]
better parsing of condition in while loop for mutability
allow condition to be a block: by calling visit_expr of the visitor directly on the condition instead of walk_expr on the whole expression, we bypass the match to ExprWhile that calls visit_expr on the condition and visit_block on the body. This allow to re-enable visit_block in the visitor, as it won't be called on the while body
allow condition to use static variables: maintain a list of static variables used, and if they are mutable
Reiner Dolp [Sun, 27 May 2018 14:16:41 +0000 (16:16 +0200)]
running update lints script
Oliver Schneider [Sat, 26 May 2018 08:23:34 +0000 (10:23 +0200)]
Rustup
Philipp Hansch [Fri, 25 May 2018 08:03:32 +0000 (10:03 +0200)]
Merge pull request #2800 from phansch/no_deploy_in_integration_tests
Don't run deploy script in integration tests
Philipp Hansch [Fri, 25 May 2018 06:35:04 +0000 (08:35 +0200)]
Add some output to make log reading easier
Philipp Hansch [Fri, 25 May 2018 06:11:15 +0000 (08:11 +0200)]
Don't run deploy script in integration tests
The deploy.sh was causing random integration tests to fail, possibly due to
multiple jobs trying to push to the same repo/branch at the same time?
The error message is:
+git push git@github.com:rust-lang-nursery/rust-clippy.git gh-pages
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
To github.com:rust-lang-nursery/rust-clippy.git
! [rejected] gh-pages -> gh-pages (fetch first)
error: failed to push some refs to 'git@github.com:rust-lang-nursery/rust-clippy.git'
hint: Updates were rejected because the re
The travis log is always truncated in similar ways.
Some examples:
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/
383325083 #L1076-L1082
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/
382711561 #L2768-L2773
Oliver Schneider [Thu, 24 May 2018 18:04:52 +0000 (20:04 +0200)]
Merge pull request #2797 from mipli/2250-unimplemented-macro
Lint for unimplemented!()
Michael A. Plikk [Thu, 24 May 2018 17:26:04 +0000 (19:26 +0200)]
Fix note on macro outside current crate. Changed group to restricted
Michael A. Plikk [Thu, 24 May 2018 14:30:26 +0000 (16:30 +0200)]
Allow unimplemented in other tests
Michael A. Plikk [Thu, 24 May 2018 06:59:54 +0000 (08:59 +0200)]
Rename panic files to panic_unimplemented
Michael A. Plikk [Wed, 23 May 2018 14:43:05 +0000 (16:43 +0200)]
Create lint for unimplemented!()
Oliver Schneider [Wed, 23 May 2018 14:38:19 +0000 (16:38 +0200)]
Version bump
Oliver Schneider [Wed, 23 May 2018 14:33:22 +0000 (16:33 +0200)]
Merge pull request #2794 from mati865/rustup
Update to nightly 2018-05-22
Mateusz Mikuła [Tue, 22 May 2018 13:45:14 +0000 (15:45 +0200)]
Update to nightly 2018-05-22
Fixes #2788
Mateusz Mikuła [Tue, 22 May 2018 08:21:42 +0000 (10:21 +0200)]
Format code
Philipp Hansch [Mon, 21 May 2018 17:59:42 +0000 (19:59 +0200)]
Merge pull request #2787 from phansch/fewer_allow_failures
Remove most allow_failures
Philipp Hansch [Mon, 21 May 2018 16:59:42 +0000 (18:59 +0200)]
Remove most allow_failures
The removed ones work fine now, only cargo and rls are
failing currently.
Philipp Hansch [Mon, 21 May 2018 16:35:17 +0000 (18:35 +0200)]
Merge pull request #2786 from phansch/fix_param_env_compile_fail
Fix chrono compile-fail due to empty param_env
Philipp Hansch [Mon, 21 May 2018 15:45:48 +0000 (17:45 +0200)]
Fix chrono crash due to empty param_env
Oliver Schneider [Sun, 20 May 2018 12:09:39 +0000 (14:09 +0200)]
Update CHANGELOG.md
Oliver Schneider [Sun, 20 May 2018 08:02:29 +0000 (10:02 +0200)]
Version bump
Oliver Schneider [Sun, 20 May 2018 07:56:55 +0000 (09:56 +0200)]
Merge pull request #2777 from rust-lang-nursery/scoped_attrs
Use the new scoped tool attributes
Oliver Schneider [Sun, 20 May 2018 07:56:35 +0000 (09:56 +0200)]
Merge pull request #2779 from rust-lang-nursery/rerunnable_clippy
Stop compilation after linting
Oliver Schneider [Sun, 20 May 2018 07:42:54 +0000 (09:42 +0200)]
Merge pull request #2781 from imp/2780
rustup to nightly 2018-05-19
Cyril Plisko [Sun, 20 May 2018 06:20:01 +0000 (09:20 +0300)]
rustup to nightly 2018-05-19
clippy_lints does not compile: non-primitive cast: `rustc_target::abi::Size` as `usize`
Fixes #2780
Oliver Schneider [Sat, 19 May 2018 16:49:57 +0000 (18:49 +0200)]
Stop compilation after linting
Philipp Hansch [Sat, 19 May 2018 15:19:18 +0000 (17:19 +0200)]
Merge pull request #2778 from phansch/add_rls_to_integration_tests
Add rls to integration tests
Philipp Hansch [Sat, 19 May 2018 15:02:08 +0000 (17:02 +0200)]
Add rls to integration tests
Oliver Schneider [Sat, 19 May 2018 12:04:57 +0000 (14:04 +0200)]
Use the new scoped tool attributes
Oliver Schneider [Sat, 19 May 2018 11:01:26 +0000 (13:01 +0200)]
Version bump
Oliver Schneider [Sat, 19 May 2018 07:57:36 +0000 (09:57 +0200)]
Merge pull request #2775 from utam0k/rename-trans-to-codegen
Rename trans to codegen
utam0k [Sat, 19 May 2018 05:29:20 +0000 (14:29 +0900)]
Rename trans to codegen
Philipp Hansch [Fri, 18 May 2018 17:07:23 +0000 (19:07 +0200)]
Merge pull request #2773 from phansch/add_hyper_to_integration_tests
Add hyper to integration tests
Philipp Hansch [Fri, 18 May 2018 16:43:21 +0000 (18:43 +0200)]
Add hyper to integration tests
Because it was failing before: https://github.com/rust-lang/rust/issues/49643
Oliver Schneider [Fri, 18 May 2018 07:12:58 +0000 (09:12 +0200)]
Merge pull request #2763 from phansch/tasty_ice_cream
Fix SpanlessHash and SpanlessEq tables
Philipp Hansch [Thu, 17 May 2018 21:48:55 +0000 (23:48 +0200)]
Merge pull request #2772 from phansch/add_more_integration_tests
Add more integration tests
Philipp Hansch [Thu, 17 May 2018 20:06:25 +0000 (22:06 +0200)]
Use full backtrace
Philipp Hansch [Thu, 17 May 2018 19:40:23 +0000 (21:40 +0200)]
Make build output cleaner