]> git.lizzy.rs Git - rust.git/log
rust.git
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 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

6 years agoAdd rustc version check to build script
Philipp Hansch [Mon, 7 May 2018 19:01:23 +0000 (21:01 +0200)]
Add rustc version check to build script

6 years agoMerge pull request #2730 from NiekGr/len_zero_use_of_one
Oliver Schneider [Mon, 7 May 2018 09:49:25 +0000 (11:49 +0200)]
Merge pull request #2730 from NiekGr/len_zero_use_of_one

Update len_zero to handle comparisions with one

6 years agoVersion bump
Oliver Schneider [Mon, 7 May 2018 08:00:58 +0000 (10:00 +0200)]
Version bump

6 years agoUpdate len_zero to handle comparisions with one
NiekGr [Sat, 5 May 2018 13:01:51 +0000 (15:01 +0200)]
Update len_zero to handle comparisions with one

I have added test cases for comparisons with zero and one.
While implementing handling of one, incorrect handlings of zero
were also fixed.

fixes rust-lang-nursery/rust-clippy/#2554

6 years agoMerge pull request #2729 from mikerite/fix_compilation_20180505
Oliver Schneider [Sun, 6 May 2018 13:41:24 +0000 (15:41 +0200)]
Merge pull request #2729 from mikerite/fix_compilation_20180505

Fixes compilation for rust nightly 2018-05-05

6 years agoFixes compilation for rust nightly 2018-05-05
Michael Wright [Sun, 6 May 2018 12:05:41 +0000 (14:05 +0200)]
Fixes compilation for rust nightly 2018-05-05

Closes #2725

6 years agoMerge pull request #2720 from estk/fix-dot-zero
Oliver Schneider [Sat, 5 May 2018 17:52:59 +0000 (19:52 +0200)]
Merge pull request #2720 from estk/fix-dot-zero

Fix 1x...xx.0 false positive.

6 years agoFix 1x..x.0 false positive, pretty suggestion
Evan Simmons [Wed, 2 May 2018 18:40:52 +0000 (11:40 -0700)]
Fix 1x..x.0 false positive, pretty suggestion

6 years agoMerge pull request #2724 from Caemor/patch-1
Philipp Hansch [Fri, 4 May 2018 16:43:27 +0000 (18:43 +0200)]
Merge pull request #2724 from Caemor/patch-1

Link with https instead of http

6 years agoMerge pull request #2726 from rust-lang-nursery/rustup
Oliver Schneider [Fri, 4 May 2018 14:29:57 +0000 (16:29 +0200)]
Merge pull request #2726 from rust-lang-nursery/rustup

Version bump

6 years agoVersion bump
Oliver Schneider [Fri, 4 May 2018 13:54:56 +0000 (15:54 +0200)]
Version bump

6 years agoMerge pull request #2713 from alexreg/nightly-fix
Oliver Schneider [Fri, 4 May 2018 13:06:59 +0000 (15:06 +0200)]
Merge pull request #2713 from alexreg/nightly-fix

Fixed build for latest rust master

6 years agoLink with https instead of http
Chris [Fri, 4 May 2018 12:23:53 +0000 (14:23 +0200)]
Link with https instead of http

The old link caused a mixed content warning on crates.io. This should be fixed now.

6 years agoSatisfy dogfood
Oliver Schneider [Fri, 4 May 2018 10:59:45 +0000 (12:59 +0200)]
Satisfy dogfood

6 years agoUpdate inline_fn_without_body.rs
Oliver Schneider [Fri, 4 May 2018 08:17:30 +0000 (10:17 +0200)]
Update inline_fn_without_body.rs

6 years agoFixed build for latest nightly (again)
Alexander Regueiro [Thu, 3 May 2018 22:28:02 +0000 (23:28 +0100)]
Fixed build for latest nightly (again)

6 years agoRustup field -> method transition of ..=
Oliver Schneider [Thu, 3 May 2018 13:52:44 +0000 (15:52 +0200)]
Rustup field -> method transition of ..=

6 years agoremove unused crate import
Oliver Schneider [Thu, 3 May 2018 08:56:02 +0000 (10:56 +0200)]
remove unused crate import

6 years agoMerge pull request #2714 from imp/2709_simplify_some_internal_code
Oliver Schneider [Tue, 1 May 2018 20:14:42 +0000 (22:14 +0200)]
Merge pull request #2714 from imp/2709_simplify_some_internal_code

Simplify some internal code

6 years agoMerge pull request #2711 from phansch/fix_2707
Oliver Schneider [Tue, 1 May 2018 19:28:48 +0000 (21:28 +0200)]
Merge pull request #2711 from phansch/fix_2707

Prevent crash when macro was in different file

6 years agoSimplify some internal code
Cyril Plisko [Tue, 1 May 2018 17:33:32 +0000 (20:33 +0300)]
Simplify some internal code

Addresses #2709

6 years agoPrevent crash when macro is in different file
Philipp Hansch [Tue, 1 May 2018 13:01:28 +0000 (15:01 +0200)]
Prevent crash when macro is in different file

This was caused by a macro in a different file.
The `target.span` was be in the file of the macro definition and the
`item.span` in the file of the calling code.

6 years agoFixed build for latest nightly
Alexander Regueiro [Tue, 1 May 2018 16:10:25 +0000 (17:10 +0100)]
Fixed build for latest nightly

6 years agoMerge pull request #2672 from ysimonson/multiple-crate-versions
Oliver Schneider [Tue, 1 May 2018 14:48:53 +0000 (16:48 +0200)]
Merge pull request #2672 from ysimonson/multiple-crate-versions

Lint for multiple versions of dependencies

6 years agoMerge pull request #2701 from nathan/patch-1
Oliver Schneider [Tue, 1 May 2018 14:47:53 +0000 (16:47 +0200)]
Merge pull request #2701 from nathan/patch-1

Add third variant to {pub_,}enum_variant_names examples

6 years agoLint for multiple versions of dependencies
Yusuf Simonson [Sun, 29 Apr 2018 23:20:39 +0000 (06:20 +0700)]
Lint for multiple versions of dependencies

6 years agoMerge pull request #2703 from phansch/rustup20180427
Oliver Schneider [Sat, 28 Apr 2018 11:10:59 +0000 (13:10 +0200)]
Merge pull request #2703 from phansch/rustup20180427

Rustup to latest nightly

6 years agoRustup to latest nightly
Philipp Hansch [Sat, 28 Apr 2018 10:56:31 +0000 (12:56 +0200)]
Rustup to latest nightly

Due to https://github.com/rust-lang/rust/pull/48995 and
https://github.com/rust-lang/rust/pull/49894

6 years agoAdd third variant to {pub_,}enum_variant_names examples
Nathan [Fri, 27 Apr 2018 22:45:14 +0000 (18:45 -0400)]
Add third variant to {pub_,}enum_variant_names examples

The default value for `enum-variant-name-threshold` is 3, so the old examples (which only have two enum variants) don't actually trigger the lint by default.

6 years agoMerge pull request #2696 from nathan/patch-1
Oliver Schneider [Fri, 27 Apr 2018 21:43:57 +0000 (23:43 +0200)]
Merge pull request #2696 from nathan/patch-1

Fix rustfmt-induced missing line comments in examples

6 years agoMerge pull request #2697 from phansch/add_contributing_toc
Oliver Schneider [Fri, 27 Apr 2018 21:38:29 +0000 (23:38 +0200)]
Merge pull request #2697 from phansch/add_contributing_toc

Add TOC to contribution instructions

6 years agoAdd TOC to contribution instructions
Philipp Hansch [Fri, 27 Apr 2018 06:52:16 +0000 (08:52 +0200)]
Add TOC to contribution instructions

Also changed some headings and re-ordered the paragraphs in the testing
guide.

(I used [vim-markdown-toc](https://github.com/mzlogin/vim-markdown-toc) to
generate it automatically.)

6 years agoMerge pull request #2699 from mati865/rustup
Oliver Schneider [Fri, 27 Apr 2018 20:09:52 +0000 (22:09 +0200)]
Merge pull request #2699 from mati865/rustup

rustup

6 years agorustup
Mateusz Mikuła [Fri, 27 Apr 2018 12:00:43 +0000 (14:00 +0200)]
rustup