]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agoResolve conflicts produced by GenericArgs
flip1995 [Sun, 24 Jun 2018 21:42:52 +0000 (23:42 +0200)]
Resolve conflicts produced by GenericArgs

Addresses the move/zip of Lifetimes and Types vectors from hir::PathParameters into the args vector of GenericArgs

6 years agoResolve field, struct and function renaming
flip1995 [Sun, 24 Jun 2018 13:32:40 +0000 (15:32 +0200)]
Resolve field, struct and function renaming

Addresses the errors produced by (re)moving, merging or renaming
structs, fields and methods by rust-lang/rust#48149 and rust-lang/rust#51580

6 years agoMerge pull request #2864 from flip1995/issue-2862
Oliver Schneider [Thu, 21 Jun 2018 14:14:40 +0000 (16:14 +0200)]
Merge pull request #2864 from flip1995/issue-2862

Fix panic on map_clone lint

6 years agoCheck for arguments before accessing the first arg
flip1995 [Thu, 21 Jun 2018 12:43:13 +0000 (14:43 +0200)]
Check for arguments before accessing the first arg

6 years agoMerge pull request #2790 from shnewto/vectors-to-indexing-slicing-lint
Oliver Schneider [Thu, 21 Jun 2018 08:30:40 +0000 (10:30 +0200)]
Merge pull request #2790 from shnewto/vectors-to-indexing-slicing-lint

Extend `indexing_slicing` lint

6 years agoMerge pull request #2863 from Fraser999/exit_code
Oliver Schneider [Thu, 21 Jun 2018 08:26:32 +0000 (10:26 +0200)]
Merge pull request #2863 from Fraser999/exit_code

Ensure a non-zero value is returned by clippy if compilation fails

6 years agoMerge pull request #2592 from phansch/link_to_correct_appveyor_build
Philipp Hansch [Thu, 21 Jun 2018 05:57:24 +0000 (06:57 +0100)]
Merge pull request #2592 from phansch/link_to_correct_appveyor_build

Link to correct AppVeyor project in Readme

6 years agoLink to correct AppVeyor project in Readme
Philipp Hansch [Thu, 29 Mar 2018 22:12:19 +0000 (00:12 +0200)]
Link to correct AppVeyor project in Readme

6 years agoEnsure a non-zero value is returned by clippy if compilation fails
Fraser Hutchison [Thu, 21 Jun 2018 04:20:14 +0000 (05:20 +0100)]
Ensure a non-zero value is returned by clippy if compilation fails

6 years agoMerge pull request #2861 from rust-lang-nursery/oli-obk-patch-1
Manish Goregaokar [Wed, 20 Jun 2018 18:48:14 +0000 (11:48 -0700)]
Merge pull request #2861 from rust-lang-nursery/oli-obk-patch-1

Mention the RFC on top of the README

6 years agoUpdate README.md
Oliver Schneider [Wed, 20 Jun 2018 18:37:22 +0000 (20:37 +0200)]
Update README.md

6 years agoMerge pull request #2859 from 0ndorio/fix/false_positive_on_assert_in_neg_cmp_partial
Oliver Schneider [Wed, 20 Jun 2018 11:03:37 +0000 (13:03 +0200)]
Merge pull request #2859 from 0ndorio/fix/false_positive_on_assert_in_neg_cmp_partial

Allows neg_cmp_op_on_partial_ord for external macros (fixes #2856).

6 years agoAllows neg_cmp_op_on_partial_ord for external macros (fixes #2856).
Bruno Kirschner [Wed, 20 Jun 2018 09:07:41 +0000 (11:07 +0200)]
Allows neg_cmp_op_on_partial_ord for external macros (fixes #2856).

The macro always negates the result of the given comparison in its
internal check which automatically triggered the lint. As its an
external macro there was no chance to do anything about it which lead
to a white listing of all external macros to prevent further issues.

6 years agoMerge pull request #2858 from phansch/update_allowed_failures
Philipp Hansch [Wed, 20 Jun 2018 05:35:24 +0000 (06:35 +0100)]
Merge pull request #2858 from phansch/update_allowed_failures

No more allowed failures in integration tests

6 years agoNo more allowed failures in integration tests
Philipp Hansch [Wed, 20 Jun 2018 05:12:50 +0000 (07:12 +0200)]
No more allowed failures in integration tests

They have all been working for some time now.

6 years agoRemoving lint for constant `usize` array indexing
Shea Newton [Tue, 19 Jun 2018 21:30:43 +0000 (21:30 +0000)]
Removing lint for constant `usize` array indexing

This commit removes the logic in this PR that linted out-of-bounds constant `usize` indexing on arrays. That case is already handled by rustc's `const_err` lint. Beyond removing the linting logic, the test file and its associated stderr were updated to verify that const `usize` indexing operations on arrays are no longer handled by this `indexing_slicing` lint.

6 years agoAdd tests that index with a `const` value.
Shea Newton [Fri, 15 Jun 2018 15:54:38 +0000 (15:54 +0000)]
Add tests that index with a `const` value.

In this commit tests were added to ensure that tests with a `const` index behaved as expected.
In order to minimize the changes to the test's corresponding `stderr`, the tests were appended to
the end of the file.

6 years agoRevisiting indexing_slicing test cases
Shea Newton [Thu, 14 Jun 2018 20:04:37 +0000 (20:04 +0000)]
Revisiting indexing_slicing test cases

This commit contains a few changes. In an attempt to clarify which test cases should and should not produce stderr it became clear that some cases were being handled incorrectly. In order to address these test cases, a minor re-factor was made to the linting logic itself.

The re-factor was driven by edge case handling including a need for additional match conditions for `ExprCall` (`&x[0..=4]`) and `ExprBinary` (`x[1 << 3]`). Rather than attempt to account for each potential `Expr*` the code was re-factored into simply "if ranged index" and an "otherwise" conditions.

6 years agoSecond pass at addressing changes requested
Shea Newton [Thu, 14 Jun 2018 16:41:56 +0000 (16:41 +0000)]
Second pass at addressing changes requested

The changes reflected in this commit (requested in PR #2790) are as follows:

- Extended `INDEXING_SLICING` documentation to include the array type so that it is clearer when indexing operations are allowed.
- Variable `ty` defined identically in multiple scopes was moved to an outer scope so it's only defined once.
- Added a missing return statement to ensure only one lint is triggered by a scenario.
- Prettified match statement with a `let` clause. (I learned something new!)
- Added `&x[5..].iter().map(|x| 2 * x).collect::<Vec<i32>>()` and `&x[2..].iter().map(|x| 2 * x).collect::<Vec<i32>>()` to the test cases. The first _should trigger the lint/stderr_ and the second _should not_.

6 years agoThis commit represents an attempt to address changes requested in the process of...
Shea Newton [Wed, 13 Jun 2018 23:28:57 +0000 (23:28 +0000)]
This commit represents an attempt to address changes requested in the process of reviewing PR #2790.
The changes reflected in this commit are as follows:

- Revised `IndexingSlicingPass` struct name to IndexingSlicing for consistency with the rest of the code base.
- Revised match arm condition to use `(..)` shorthand in favor of `(_, _, _)`.
- Restored a couple telling variable names.
- Calls to `cx.span_lint` were revised to use `utils::span_help_and_lint`.
- Took a stab at refactoring some generalizable calls to `utils::span_help_and_lint` to minimize duplicate code.
- Revised INDEXING_SLICING declaration to pedantic rather than restriction.
- Added `&x[0..].get(..3)` to the test cases.

6 years agoRename instances of `array_indexing`
Shea Newton [Wed, 23 May 2018 05:02:07 +0000 (22:02 -0700)]
Rename instances of `array_indexing`

This commit renames instances of `array_indexing` to `indexing_slicing` and moves the `indexing_slicing` lint to the `clippy_pedantic` group. The justification for this commit's changes are detailed in the previous commit's message.

6 years ago Extend `indexing_slicing` lint
Shea Newton [Wed, 23 May 2018 04:56:02 +0000 (21:56 -0700)]
Extend `indexing_slicing` lint

    Hey there clippy team! I've made some assumptions in this PR and I'm not at all certain they'll look like the right approach to you. I'm looking forward to any feedback or revision requests you have, thanks!

    Prior to this commit the `indexing_slicing` lint was limited to indexing/slicing operations on arrays. This meant that the scope of a really useful lint didn't include vectors. In order to include vectors in the `indexing_slicing` lint a few steps were taken.

    The `array_indexing.rs` source file in `clippy_lints` was renamed to `indexing_slicing.rs` to more accurately reflect the lint's new scope. The `OUT_OF_BOUNDS_INDEXING` lint persists through these changes so if we can know that a constant index or slice on an array is in bounds no lint is triggered.

    The `array_indexing` tests in the `tests/ui` directory were also extended and moved to `indexing_slicing.rs` and `indexing_slicing.stderr`.

    The `indexing_slicing` lint was moved to the `clippy_pedantic` lint group.

    A specific "Consider using" string was added to each of the `indexing_slicing` lint reports.

    At least one of the test scenarios might look peculiar and I'll leave it up to y'all to decide if it's palatable. It's the result of indexing the array `x` after `let x = [1, 2, 3, 4];`

    ```
    error: slicing may panic. Consider using `.get(..n)`or `.get_mut(..n)`instead
      --> $DIR/indexing_slicing.rs:23:6
       |
    23 |     &x[0..][..3];
       |      ^^^^^^^^^^^
    ```

    The error string reports only on the second half's range-to, because the range-from is in bounds!

    Again, thanks for taking a look.

    Closes #2536

6 years agoMerge pull request #2855 from uHOOCCOOHu/impl-fn-lifetime
Oliver Schneider [Tue, 19 Jun 2018 16:00:21 +0000 (18:00 +0200)]
Merge pull request #2855 from uHOOCCOOHu/impl-fn-lifetime

Fix false positive `unused_lifetime` when referenced in generic bounds.

6 years agoAdd notes for test examples.
uHOOCCOOHu [Tue, 19 Jun 2018 15:12:17 +0000 (23:12 +0800)]
Add notes for test examples.

6 years agoCheck lifetimes in Fn traits in generic bounds.
uHOOCCOOHu [Tue, 19 Jun 2018 13:25:38 +0000 (21:25 +0800)]
Check lifetimes in Fn traits in generic bounds.
Add tests.

6 years agoMerge pull request #2837 from fanzier/panicking_unwrap
Oliver Schneider [Tue, 19 Jun 2018 11:30:38 +0000 (13:30 +0200)]
Merge pull request #2837 from fanzier/panicking_unwrap

Implement lint checking for `unwrap`s that will always panic.

6 years agoMerge pull request #2844 from illicitonion/default_trait_access
Oliver Schneider [Tue, 19 Jun 2018 08:10:20 +0000 (10:10 +0200)]
Merge pull request #2844 from illicitonion/default_trait_access

Add default_trait_access lint

6 years agoVersion bump
Oliver Schneider [Tue, 19 Jun 2018 07:56:37 +0000 (09:56 +0200)]
Version bump

6 years agoExclude generated code
Daniel Wagner-Hall [Sun, 17 Jun 2018 21:58:08 +0000 (22:58 +0100)]
Exclude generated code

6 years agoBump min_version.txt
Oliver Schneider [Mon, 18 Jun 2018 08:48:24 +0000 (10:48 +0200)]
Bump min_version.txt

6 years agoMerge pull request #2851 from mati865/master
Oliver Schneider [Mon, 18 Jun 2018 08:43:42 +0000 (01:43 -0700)]
Merge pull request #2851 from mati865/master

Version bump

6 years agoVersion bump
Mateusz Mikuła [Mon, 18 Jun 2018 07:55:59 +0000 (09:55 +0200)]
Version bump

6 years agoFix typo in lint dump script
Oliver Schneider [Fri, 15 Jun 2018 15:45:41 +0000 (17:45 +0200)]
Fix typo in lint dump script

6 years agoMerge pull request #2803 from Nemo157/trivially_copy_pass_by_ref
Philipp Krones [Fri, 15 Jun 2018 15:44:44 +0000 (17:44 +0200)]
Merge pull request #2803 from Nemo157/trivially_copy_pass_by_ref

New Lint: Pass small trivially copyable objects by value

6 years agoDogfood new trivially_copy_pass_by_ref lint
Wim Looman [Thu, 31 May 2018 18:15:48 +0000 (20:15 +0200)]
Dogfood new trivially_copy_pass_by_ref lint

6 years agoAllow configuring the trivial copy size limit
Wim Looman [Sun, 27 May 2018 14:04:45 +0000 (16:04 +0200)]
Allow configuring the trivial copy size limit

6 years agoNew Lint: Pass small trivially copyable objects by value
Wim Looman [Sun, 27 May 2018 12:32:03 +0000 (14:32 +0200)]
New Lint: Pass small trivially copyable objects by value

Fixes #1680

Hardcoded for 64-bit "trivial" size for now

6 years agoMore doc fixes
Manish Goregaokar [Fri, 15 Jun 2018 07:20:46 +0000 (00:20 -0700)]
More doc fixes

6 years agoDoc fix syntax
Manish Goregaokar [Fri, 15 Jun 2018 07:19:19 +0000 (00:19 -0700)]
Doc fix syntax

6 years agoFix some existing test expectations
Daniel Wagner-Hall [Thu, 14 Jun 2018 22:13:12 +0000 (23:13 +0100)]
Fix some existing test expectations

6 years agoLint printing was broken
Oliver Schneider [Thu, 14 Jun 2018 20:50:07 +0000 (22:50 +0200)]
Lint printing was broken

6 years agoAdd default_trait_access lint
Daniel Wagner-Hall [Thu, 14 Jun 2018 07:57:27 +0000 (08:57 +0100)]
Add default_trait_access lint

6 years agoMerge pull request #2839 from mikerite/duration_subsec_pr_2
Oliver Schneider [Tue, 12 Jun 2018 13:30:20 +0000 (06:30 -0700)]
Merge pull request #2839 from mikerite/duration_subsec_pr_2

Add duration_subsec lint

6 years agoFix documentation
Fabian Zaiser [Tue, 12 Jun 2018 13:03:22 +0000 (15:03 +0200)]
Fix documentation

6 years agoFix markdown.
Fabian Zaiser [Sat, 9 Jun 2018 10:15:52 +0000 (12:15 +0200)]
Fix markdown.

6 years agoCategorize the unwrap lints correctly.
Fabian Zaiser [Fri, 8 Jun 2018 18:38:39 +0000 (20:38 +0200)]
Categorize the unwrap lints correctly.

6 years agoUpdate known problems.
Fabian Zaiser [Fri, 8 Jun 2018 16:25:31 +0000 (18:25 +0200)]
Update known problems.

6 years agoImplement lint checking for `unwrap`s that will always panic.
Fabian Zaiser [Fri, 8 Jun 2018 16:12:01 +0000 (18:12 +0200)]
Implement lint checking for `unwrap`s that will always panic.

6 years agoduration_subsec: Add check for `subsec_micros`
Michael Wright [Tue, 12 Jun 2018 06:25:10 +0000 (08:25 +0200)]
duration_subsec: Add check for `subsec_micros`

6 years agoMerge pull request #2815 from darArch/master
Oliver Schneider [Mon, 11 Jun 2018 13:33:26 +0000 (06:33 -0700)]
Merge pull request #2815 from darArch/master

Warn if non-trivial work is done inside .expect

6 years agoUpdating docs to reflect more recent changes to expect_fun_call lint
Donald Robertson [Mon, 11 Jun 2018 13:17:40 +0000 (14:17 +0100)]
Updating docs to reflect more recent changes to expect_fun_call lint

6 years agoMerge branch 'master' into duration_subsec_pr_2
Michael Wright [Mon, 11 Jun 2018 05:48:10 +0000 (07:48 +0200)]
Merge branch 'master' into duration_subsec_pr_2

6 years agoPublish preparation
Oliver Schneider [Sun, 10 Jun 2018 04:22:07 +0000 (06:22 +0200)]
Publish preparation

6 years agoduration_subsec: fix declaration; correctly classify
Michael Wright [Sat, 9 Jun 2018 09:04:21 +0000 (11:04 +0200)]
duration_subsec: fix declaration; correctly classify

6 years agoAdd duration_subsec lint
Michael Wright [Sun, 18 Mar 2018 20:27:15 +0000 (22:27 +0200)]
Add duration_subsec lint

Closes #2543

6 years agoMerge pull request #2836 from mati865/upcoming_breakage
Oliver Schneider [Sat, 9 Jun 2018 04:56:39 +0000 (06:56 +0200)]
Merge pull request #2836 from mati865/upcoming_breakage

Upcoming breakage

6 years agoMerge pull request #2811 from fanzier/checked_unwrap
Oliver Schneider [Fri, 8 Jun 2018 05:15:02 +0000 (07:15 +0200)]
Merge pull request #2811 from fanzier/checked_unwrap

Implement lint that checks for unidiomatic unwrap() (closes #1770)

6 years agoAddress review comments.
Fabian Zaiser [Fri, 8 Jun 2018 03:55:11 +0000 (05:55 +0200)]
Address review comments.

6 years agoImplement lint that checks for unidiomatic `unwrap()` (fixes #1770)
Fabian Zaiser [Sun, 27 May 2018 22:02:38 +0000 (00:02 +0200)]
Implement lint that checks for unidiomatic `unwrap()` (fixes #1770)

This checks for things like

    if x.is_some() {
        x.unwrap()
    }

which should be written using `if let` or `match` instead.

In the process I moved some logic to determine which variables are
mutated in an expression to utils/usage.rs.

6 years agoCleanup of driver code
Mateusz Mikuła [Thu, 7 Jun 2018 20:03:15 +0000 (22:03 +0200)]
Cleanup of driver code

6 years agoFormatting
Mateusz Mikuła [Thu, 7 Jun 2018 17:16:50 +0000 (19:16 +0200)]
Formatting

6 years agoMerge pull request #2835 from FauxFaux/patch-1
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

6 years agoPrepare for upcoming breakage
Mateusz Mikuła [Thu, 7 Jun 2018 17:16:41 +0000 (19:16 +0200)]
Prepare for upcoming breakage

6 years agoTiny typo in rust-update script
Chris West [Thu, 7 Jun 2018 16:47:11 +0000 (17:47 +0100)]
Tiny typo in rust-update script

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

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

6 years agoCombining if statements per lint warnings on build
Donald Robertson [Wed, 6 Jun 2018 19:38:13 +0000 (20:38 +0100)]
Combining if statements per lint warnings on build

6 years agoAmending use of Some with discarded value to use is_some
Donald Robertson [Wed, 6 Jun 2018 16:13:31 +0000 (17:13 +0100)]
Amending use of Some with discarded value to use is_some

6 years agoAdded check to ensure format macro only being handled, refactored extraction and...
Donald Robertson [Wed, 6 Jun 2018 15:53:11 +0000 (16:53 +0100)]
Added check to ensure format macro only being handled, refactored extraction and checks to smaller functions.

6 years agoMerge pull request #2804 from utaal/expr-call-author
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

6 years agoExtracting arguments to format to pass directly to panic when appropriate
Donald Robertson [Tue, 5 Jun 2018 20:15:08 +0000 (21:15 +0100)]
Extracting arguments to format to pass directly to panic when appropriate

6 years agoMerge pull request #2814 from VKlayd/fn_to_int
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.

6 years agoReplacing match block with if block as conditional was boolean
Donald Robertson [Mon, 4 Jun 2018 18:19:01 +0000 (19:19 +0100)]
Replacing match block with if block as conditional was boolean

6 years agoAdding handling and tests for custom type with implemented expect method
Donald Robertson [Tue, 29 May 2018 08:20:18 +0000 (10:20 +0200)]
Adding handling and tests for custom type with implemented expect method

6 years agoEnsuring correct lint message is output for Option and Result type
Donald Robertson [Tue, 29 May 2018 07:46:14 +0000 (09:46 +0200)]
Ensuring correct lint message is output for Option and Result type

6 years agoRemoving unnecessary allow
Donald Robertson [Tue, 29 May 2018 07:29:48 +0000 (09:29 +0200)]
Removing unnecessary allow

6 years agoWarn if non-trivial work is done inside .expect
Donald Robertson [Mon, 28 May 2018 19:00:45 +0000 (21:00 +0200)]
Warn if non-trivial work is done inside .expect
- added tests for common usages of format and as_str arguments to expect
- added tests for usages of Option and Result types
- given performance impact of passing non literal expressions to expect, added to perf group

6 years agoMerge pull request #2827 from 0ndorio/lint/cmp_operators_on_partial_cmp
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)

6 years agoCleaned implements_ord helper function in boolean lint file.
Bruno Kirschner [Sun, 3 Jun 2018 16:46:11 +0000 (18:46 +0200)]
Cleaned implements_ord helper function in boolean lint file.

6 years agoReduced scope of `nonminimal_bool` so that it doesn't evaluate only partially orded...
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.

6 years agoFixed spelling and indentation issues in neg_cmp_op_on_partial_ord related files.
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.

6 years agoUse declare_clippy_lint instead of declare_lint.
Bruno Kirschner [Fri, 1 Jun 2018 11:40:41 +0000 (13:40 +0200)]
Use declare_clippy_lint instead of declare_lint.

6 years agoAdded lint to avoid negated comparisions on partially ordered types.
Bruno Kirschner [Fri, 1 Jun 2018 09:58:40 +0000 (11:58 +0200)]
Added lint to avoid negated comparisions on partially ordered types.

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

6 years agoCompute digits vec only once
Terry Raimondo [Sun, 3 Jun 2018 10:26:50 +0000 (12:26 +0200)]
Compute digits vec only once

6 years agoVersion bump
Oliver Schneider [Sun, 3 Jun 2018 06:59:10 +0000 (08:59 +0200)]
Version bump

6 years agoDivide FN_TO_NUMERIC lint into two.
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

6 years agoMerge pull request #2816 from mockersf/multiple-impl
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

6 years agoMerge pull request #2819 from zayenz/no-op-ref-in-macro
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

6 years agoMerge pull request #2825 from Nemo157/test-toml
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

6 years agoAdd one more test
Victor Korkin [Thu, 31 May 2018 02:00:13 +0000 (09:00 +0700)]
Add one more test

6 years agoUse compiletest::make_tests to allow it to setup the output folders
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

6 years agoGet compile-test tests for configuration working
Wim Looman [Wed, 30 May 2018 18:29:00 +0000 (20:29 +0200)]
Get compile-test tests for configuration working

6 years agoMerge pull request #2821 from mati865/rust-2018-migration
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

6 years agoFix 'help' message
Victor Korkin [Wed, 30 May 2018 09:55:03 +0000 (16:55 +0700)]
Fix 'help' message

6 years agoUpdate integration test
Mateusz Mikuła [Wed, 30 May 2018 09:20:34 +0000 (11:20 +0200)]
Update integration test

6 years agoUpgrade to edition 2018
Mateusz Mikuła [Wed, 30 May 2018 08:18:52 +0000 (10:18 +0200)]
Upgrade to edition 2018

6 years agoRun rustfix
Mateusz Mikuła [Wed, 30 May 2018 08:15:50 +0000 (10:15 +0200)]
Run rustfix

6 years agoAdd rust_2018_preview feature and fix rustfmt annotation
Mateusz Mikuła [Wed, 30 May 2018 08:05:06 +0000 (10:05 +0200)]
Add rust_2018_preview feature and fix rustfmt annotation

6 years agoFixes for suggestion message, tests and lint explanation.
Victor Korkin [Wed, 30 May 2018 04:48:46 +0000 (11:48 +0700)]
Fixes for suggestion message, tests and lint explanation.