]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agomove lint to restriction group
François Mockers [Tue, 29 May 2018 08:19:16 +0000 (10:19 +0200)]
move lint to restriction group

6 years agoonly install remark if not on an integration build to avoid ddosing npm
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

6 years agoadding to pedantic a lint that check for multiple inherent implementations
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

6 years agoMerge pull request #2820 from flip1995/unused_def_conf
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

6 years agoRemove unused define_conf-macro definitions
flip1995 [Tue, 29 May 2018 12:51:16 +0000 (14:51 +0200)]
Remove unused define_conf-macro definitions

6 years agoFix dogfood
Oliver Schneider [Tue, 29 May 2018 12:45:10 +0000 (14:45 +0200)]
Fix dogfood

6 years agoVersion bump
Oliver Schneider [Tue, 29 May 2018 09:58:58 +0000 (11:58 +0200)]
Version bump

6 years agoMerge pull request #2817 from mati865/rustup
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

6 years agoUpdate 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

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

6 years agoAdded lint for unnecessary references
Aaron Power [Mon, 28 May 2018 07:29:02 +0000 (09:29 +0200)]
Added lint for unnecessary references

6 years agoMerge pull request #2810 from Aaronepower/stable_feature_flags
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

6 years agoMerge pull request #2806 from mockersf/loop-mut-cond
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

6 years agoMerge pull request #2805 from reiner-dolp/update_lints
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

6 years agoMerge pull request #2809 from Aaronepower/if_chain_clean
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

6 years agoRemoved stable feature flags
Aaron Power [Mon, 28 May 2018 08:03:27 +0000 (10:03 +0200)]
Removed stable feature flags

6 years agoRefactored nested if lets to if_chain! macro
Aaron Power [Mon, 28 May 2018 07:50:25 +0000 (09:50 +0200)]
Refactored nested if lets to if_chain! macro

6 years agobetter parsing of condition in while loop for mutability
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

6 years agorunning update lints script
Reiner Dolp [Sun, 27 May 2018 14:16:41 +0000 (16:16 +0200)]
running update lints script

6 years agoRustup
Oliver Schneider [Sat, 26 May 2018 08:23:34 +0000 (10:23 +0200)]
Rustup

6 years agoMerge pull request #2800 from phansch/no_deploy_in_integration_tests
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

6 years agoAdd some output to make log reading easier
Philipp Hansch [Fri, 25 May 2018 06:35:04 +0000 (08:35 +0200)]
Add some output to make log reading easier

6 years agoDon't run deploy script in integration tests
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

6 years agoMerge pull request #2797 from mipli/2250-unimplemented-macro
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!()

6 years agoFix note on macro outside current crate. Changed group to restricted
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

6 years agoAllow unimplemented in other tests
Michael A. Plikk [Thu, 24 May 2018 14:30:26 +0000 (16:30 +0200)]
Allow unimplemented in other tests

6 years agoRename panic files to panic_unimplemented
Michael A. Plikk [Thu, 24 May 2018 06:59:54 +0000 (08:59 +0200)]
Rename panic files to panic_unimplemented

6 years agoCreate lint for unimplemented!()
Michael A. Plikk [Wed, 23 May 2018 14:43:05 +0000 (16:43 +0200)]
Create lint for unimplemented!()

6 years agoVersion bump
Oliver Schneider [Wed, 23 May 2018 14:38:19 +0000 (16:38 +0200)]
Version bump

6 years agoMerge pull request #2794 from mati865/rustup
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

6 years agoUpdate 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

6 years agoFormat code
Mateusz Mikuła [Tue, 22 May 2018 08:21:42 +0000 (10:21 +0200)]
Format code

6 years agoMerge pull request #2787 from phansch/fewer_allow_failures
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

6 years agoRemove 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.

6 years agoMerge pull request #2786 from phansch/fix_param_env_compile_fail
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

6 years agoFix chrono crash 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

6 years agoUpdate CHANGELOG.md
Oliver Schneider [Sun, 20 May 2018 12:09:39 +0000 (14:09 +0200)]
Update CHANGELOG.md

6 years agoVersion bump
Oliver Schneider [Sun, 20 May 2018 08:02:29 +0000 (10:02 +0200)]
Version bump

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

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

6 years agoMerge pull request #2781 from imp/2780
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

6 years agorustup 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

6 years agoStop compilation after linting
Oliver Schneider [Sat, 19 May 2018 16:49:57 +0000 (18:49 +0200)]
Stop compilation after linting

6 years agoMerge pull request #2778 from phansch/add_rls_to_integration_tests
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

6 years agoAdd rls to integration tests
Philipp Hansch [Sat, 19 May 2018 15:02:08 +0000 (17:02 +0200)]
Add rls to integration tests

6 years agoUse the new scoped tool attributes
Oliver Schneider [Sat, 19 May 2018 12:04:57 +0000 (14:04 +0200)]
Use the new scoped tool attributes

6 years agoVersion bump
Oliver Schneider [Sat, 19 May 2018 11:01:26 +0000 (13:01 +0200)]
Version bump

6 years agoMerge pull request #2775 from utam0k/rename-trans-to-codegen
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

6 years agoRename trans to codegen
utam0k [Sat, 19 May 2018 05:29:20 +0000 (14:29 +0900)]
Rename trans to codegen

6 years agoMerge pull request #2773 from phansch/add_hyper_to_integration_tests
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

6 years agoAdd 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

6 years agoMerge pull request #2763 from phansch/tasty_ice_cream
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

6 years agoMerge pull request #2772 from phansch/add_more_integration_tests
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

6 years agoUse full backtrace
Philipp Hansch [Thu, 17 May 2018 20:06:25 +0000 (22:06 +0200)]
Use full backtrace

6 years agoMake build output cleaner
Philipp Hansch [Thu, 17 May 2018 19:40:23 +0000 (21:40 +0200)]
Make build output cleaner

6 years agoAdd more crates for integration tests
Philipp Hansch [Thu, 17 May 2018 19:40:04 +0000 (21:40 +0200)]
Add more crates for integration tests

6 years agoFix ICE for issues 2767, 2499, 1782
Philipp Hansch [Thu, 17 May 2018 18:17:21 +0000 (20:17 +0200)]
Fix ICE for issues 2767, 2499, 1782

6 years agoFix ICE for issue 2594
Philipp Hansch [Sun, 13 May 2018 11:16:31 +0000 (13:16 +0200)]
Fix ICE for issue 2594

6 years agoAdd run-pass tests for SpanlessEq/SpanlessHash ICE
Philipp Hansch [Sat, 12 May 2018 11:41:03 +0000 (13:41 +0200)]
Add run-pass tests for SpanlessEq/SpanlessHash ICE

6 years agoMerge pull request #2764 from phansch/integration_tests
Philipp Hansch [Thu, 17 May 2018 12:16:26 +0000 (14:16 +0200)]
Merge pull request #2764 from phansch/integration_tests

Add basic integration tests for travis

6 years agoVersion bump
Oliver Schneider [Thu, 17 May 2018 09:40:12 +0000 (11:40 +0200)]
Version bump

6 years agoMerge pull request #2770 from mati865/rustup
Oliver Schneider [Thu, 17 May 2018 09:36:41 +0000 (11:36 +0200)]
Merge pull request #2770 from mati865/rustup

Rustup to 2018-05-16

6 years agoRustup to 2018-05-16
Mateusz Mikuła [Thu, 17 May 2018 09:21:15 +0000 (11:21 +0200)]
Rustup to 2018-05-16

6 years agos/internal error/internal compiler error/
Philipp Hansch [Wed, 16 May 2018 18:08:46 +0000 (20:08 +0200)]
s/internal error/internal compiler error/

6 years agoNo -e in integration_tests
Philipp Hansch [Wed, 16 May 2018 17:54:30 +0000 (19:54 +0200)]
No -e in integration_tests

Because that makes the script stop early and not print any clippy error
output.

6 years agoClone into checkout directory and cd into it
Philipp Hansch [Wed, 16 May 2018 17:21:57 +0000 (19:21 +0200)]
Clone into checkout directory and cd into it

6 years agoAdd exec bit, add set -ex to ci test files
Philipp Hansch [Wed, 16 May 2018 16:55:21 +0000 (18:55 +0200)]
Add exec bit, add set -ex to ci test files

6 years agoMake sure base tests are executed, too :hammer:
Philipp Hansch [Wed, 16 May 2018 07:17:55 +0000 (09:17 +0200)]
Make sure base tests are executed, too :hammer:

6 years agoAdd integration tests
Philipp Hansch [Wed, 16 May 2018 07:10:35 +0000 (09:10 +0200)]
Add integration tests

6 years agoinclude contributing.md blurb from https://github.com/hashicorp/vault/blob/master...
Manish Goregaokar [Mon, 14 May 2018 17:11:56 +0000 (12:11 -0500)]
include contributing.md blurb from https://github.com/hashicorp/vault/blob/master/CONTRIBUTING.md

6 years agoVersion bump
Oliver Schneider [Mon, 14 May 2018 09:29:22 +0000 (11:29 +0200)]
Version bump

6 years agoMerge pull request #2758 from CAD97/patch-1
Oliver Schneider [Mon, 14 May 2018 09:26:43 +0000 (11:26 +0200)]
Merge pull request #2758 from CAD97/patch-1

Update for rust-lang/rust#50536

6 years agoUpdate for rust-lang/rust#50536
Christopher Durham [Mon, 14 May 2018 08:34:11 +0000 (04:34 -0400)]
Update for rust-lang/rust#50536

Fixes #2757

6 years agoMerge pull request #2755 from phansch/typos
Martin Carton [Sun, 13 May 2018 11:49:40 +0000 (13:49 +0200)]
Merge pull request #2755 from phansch/typos

Fix two typos

6 years agoFix two typos
Philipp Hansch [Sun, 13 May 2018 11:47:54 +0000 (13:47 +0200)]
Fix two typos

6 years agoMerge pull request #2753 from phansch/fix_build_script_for_dev_channel
Oliver Schneider [Sun, 13 May 2018 09:56:03 +0000 (11:56 +0200)]
Merge pull request #2753 from phansch/fix_build_script_for_dev_channel

Fix build script for dev channel

6 years agoFix build script for dev channel
Philipp Hansch [Sun, 13 May 2018 08:11:52 +0000 (10:11 +0200)]
Fix build script for dev channel

6 years agoMerge pull request #2754 from phansch/rustup20180513
Philipp Hansch [Sun, 13 May 2018 09:31:20 +0000 (11:31 +0200)]
Merge pull request #2754 from phansch/rustup20180513

Rustup to 2018-05-13

6 years agoVersion bump
Oliver Schneider [Sun, 13 May 2018 09:16:07 +0000 (11:16 +0200)]
Version bump

6 years agoRustup to 2018-05-13
Philipp Hansch [Sun, 13 May 2018 08:44:57 +0000 (10:44 +0200)]
Rustup to 2018-05-13

6 years agoMerge pull request #2712 from rust-lang-nursery/oli-obk-patch-1
Oliver Schneider [Sat, 12 May 2018 09:13:37 +0000 (11:13 +0200)]
Merge pull request #2712 from rust-lang-nursery/oli-obk-patch-1

Deprecate plugin-clippy

6 years agoMerge pull request #2747 from rust-lang-nursery/author
Oliver Schneider [Sat, 12 May 2018 09:12:23 +0000 (11:12 +0200)]
Merge pull request #2747 from rust-lang-nursery/author

Patterns, locals and matches for author lint

6 years agoMerge pull request #2748 from phansch/explain_how_to_fix_nightly_build_failures
Philipp Hansch [Sat, 12 May 2018 09:01:56 +0000 (11:01 +0200)]
Merge pull request #2748 from phansch/explain_how_to_fix_nightly_build_failures

Explain how to debug and fix nightly build failures

6 years agoExplain how to debug and fix nightly build failures
Philipp Hansch [Sat, 12 May 2018 08:33:35 +0000 (10:33 +0200)]
Explain how to debug and fix nightly build failures

6 years agoPatterns, locals and matches for author lint
Oliver Schneider [Fri, 11 May 2018 17:05:34 +0000 (19:05 +0200)]
Patterns, locals and matches for author lint

6 years agoMerge pull request #2744 from waywardmonkeys/update-regex
Oliver Schneider [Fri, 11 May 2018 11:22:50 +0000 (13:22 +0200)]
Merge pull request #2744 from waywardmonkeys/update-regex

Update to regex 1 (and regex-syntax 0.6).

6 years agoRemove all mention and testing of #[plugin(clippy)] and warn if used
Oliver Schneider [Fri, 11 May 2018 11:20:39 +0000 (13:20 +0200)]
Remove all mention and testing of #[plugin(clippy)] and warn if used

6 years agodeprecate clippy-as-a-plugin
Oliver Schneider [Fri, 11 May 2018 09:32:56 +0000 (11:32 +0200)]
deprecate clippy-as-a-plugin

6 years agoUpdate to regex 1 (and regex-syntax 0.6).
Bruce Mitchener [Fri, 11 May 2018 09:32:05 +0000 (16:32 +0700)]
Update to regex 1 (and regex-syntax 0.6).

6 years agoMerge pull request #2743 from phansch/rustup20180510
Oliver Schneider [Fri, 11 May 2018 08:08:42 +0000 (10:08 +0200)]
Merge pull request #2743 from phansch/rustup20180510

Rustup to 2018-05-11

6 years agoVersion bump
Oliver Schneider [Fri, 11 May 2018 07:56:57 +0000 (09:56 +0200)]
Version bump

6 years agoReintroduce the lost (im)mutability checks
Oliver Schneider [Fri, 11 May 2018 07:50:29 +0000 (09:50 +0200)]
Reintroduce the lost (im)mutability checks

6 years agoRustup to 2018-05-11
Philipp Hansch [Fri, 11 May 2018 06:37:48 +0000 (08:37 +0200)]
Rustup to 2018-05-11

6 years agoMerge pull request #2735 from rust-lang-nursery/ice_melting
Philipp Hansch [Wed, 9 May 2018 19:56:34 +0000 (21:56 +0200)]
Merge pull request #2735 from rust-lang-nursery/ice_melting

Check that we don't treat any type but a range type as a range

6 years agoMerge pull request #2739 from gnzlbg/patch-1
Philipp Hansch [Wed, 9 May 2018 16:42:42 +0000 (18:42 +0200)]
Merge pull request #2739 from gnzlbg/patch-1

Remove removed rustfmt options

6 years agoRemove removed rustfmt options
gnzlbg [Wed, 9 May 2018 13:31:52 +0000 (15:31 +0200)]
Remove removed rustfmt options

Closes #2738

6 years agoMerge pull request #2737 from flip1995/escaped_squigglies
Oliver Schneider [Wed, 9 May 2018 11:47:41 +0000 (13:47 +0200)]
Merge pull request #2737 from flip1995/escaped_squigglies

panic_params: don't lint escaped squigglies

6 years agopanic_params: don't lint escaped squigglies
flip1995 [Sun, 6 May 2018 15:26:47 +0000 (17:26 +0200)]
panic_params: don't lint escaped squigglies

6 years agoCheck that we don't treat any type but a range type as a range
Oliver Schneider [Tue, 8 May 2018 15:16:01 +0000 (17:16 +0200)]
Check that we don't treat any type but a range type as a range

6 years agoMerge pull request #2733 from phansch/build_script
Oliver Schneider [Mon, 7 May 2018 20:40:31 +0000 (22:40 +0200)]
Merge pull request #2733 from phansch/build_script

Add rustc version check to build script