]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoUpdate ui tests to new rustc range printing
Oliver Schneider [Tue, 25 Apr 2017 08:57:44 +0000 (10:57 +0200)]
Update ui tests to new rustc range printing

7 years agoMerge remote-tracking branch 'origin/master' into yati_master
Oliver Schneider [Tue, 25 Apr 2017 08:31:40 +0000 (10:31 +0200)]
Merge remote-tracking branch 'origin/master' into yati_master

7 years agoBump the version
Oliver Schneider [Mon, 24 Apr 2017 11:35:37 +0000 (13:35 +0200)]
Bump the version

7 years agoUpdate for changes in rustc
Oliver Schneider [Mon, 24 Apr 2017 11:35:14 +0000 (13:35 +0200)]
Update for changes in rustc

7 years agoMerge pull request #1692 from Manishearth/tests
Oliver Schneider [Sun, 23 Apr 2017 20:01:36 +0000 (22:01 +0200)]
Merge pull request #1692 from Manishearth/tests

Update tests to new format of multiline errors

7 years agoUpdate tests to new format of multiline errors
mcarton [Sun, 23 Apr 2017 13:25:22 +0000 (15:25 +0200)]
Update tests to new format of multiline errors

7 years agoMerge pull request #1686 from bkchr/fix_nightly_rust_compilation_error
Martin Carton [Wed, 19 Apr 2017 18:11:26 +0000 (20:11 +0200)]
Merge pull request #1686 from bkchr/fix_nightly_rust_compilation_error

Fixes compilation error with latest nightly rust

7 years agoBump the version
mcarton [Wed, 19 Apr 2017 17:48:25 +0000 (19:48 +0200)]
Bump the version

7 years agoFixes compilation error with latest nightly rust (1.18.0-nightly (9f2abadca 2017...
Bastian Köcher [Wed, 19 Apr 2017 10:17:12 +0000 (12:17 +0200)]
Fixes compilation error with latest nightly rust (1.18.0-nightly (9f2abadca 2017-04-18))

7 years agoMerge pull request #1682 from Mrmaxmeier/rustup-2017-04-15
Martin Carton [Sun, 16 Apr 2017 22:14:52 +0000 (00:14 +0200)]
Merge pull request #1682 from Mrmaxmeier/rustup-2017-04-15

Rustup to 1.18.0-nightly (d5cf1cb64 2017-04-15)

7 years agoBump to 0.0.124
mcarton [Sun, 16 Apr 2017 21:51:55 +0000 (23:51 +0200)]
Bump to 0.0.124

7 years agoRustup to 1.18.0-nightly (d5cf1cb64 2017-04-15)
Mrmaxmeier [Sun, 16 Apr 2017 16:38:17 +0000 (18:38 +0200)]
Rustup to 1.18.0-nightly (d5cf1cb64 2017-04-15)

7 years agoneedless_continue: Remove indentation of suggestion code.
Yati Sagade [Thu, 13 Apr 2017 19:48:52 +0000 (21:48 +0200)]
needless_continue: Remove indentation of suggestion code.

As per a suggestion by Oliver on the PR thread, maintaining indentation
in the suggested code is futile because of the changes in the compiler
and the messiness of real-world code. rustfmt will do the indentation if
required, so we don't need to do it.

7 years agoRun rustfmt
Oliver Schneider [Wed, 12 Apr 2017 09:06:32 +0000 (11:06 +0200)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Wed, 12 Apr 2017 08:57:02 +0000 (10:57 +0200)]
Bump the version

7 years agoDogfood tests
Oliver Schneider [Wed, 12 Apr 2017 08:55:34 +0000 (10:55 +0200)]
Dogfood tests

7 years agoMerge pull request #1672 from Manishearth/lifetime_sugg
Oliver Schneider [Wed, 12 Apr 2017 08:37:57 +0000 (10:37 +0200)]
Merge pull request #1672 from Manishearth/lifetime_sugg

Fix various false positives around needless_lifetime

7 years agoUpdate ui tests
Oliver Schneider [Tue, 11 Apr 2017 14:19:27 +0000 (16:19 +0200)]
Update ui tests

7 years agoMerge remote-tracking branch 'origin/master' into yati
Oliver Schneider [Tue, 11 Apr 2017 14:16:10 +0000 (16:16 +0200)]
Merge remote-tracking branch 'origin/master' into yati

7 years agoAdd newline at end of file
Oliver Schneider [Tue, 11 Apr 2017 13:54:48 +0000 (15:54 +0200)]
Add newline at end of file

7 years agoDon't lint for lifetime bounds required by traits
Oliver Schneider [Tue, 11 Apr 2017 13:44:13 +0000 (15:44 +0200)]
Don't lint for lifetime bounds required by traits

7 years agoRemove now useless `allow(unused_lifetimes)` from clippy
Oliver Schneider [Tue, 11 Apr 2017 12:46:54 +0000 (14:46 +0200)]
Remove now useless `allow(unused_lifetimes)` from clippy

7 years agoRemove useless warning
Oliver Schneider [Tue, 11 Apr 2017 12:34:39 +0000 (14:34 +0200)]
Remove useless warning

7 years agoDon't lint lifetimes after trait objects
Oliver Schneider [Tue, 11 Apr 2017 12:29:58 +0000 (14:29 +0200)]
Don't lint lifetimes after trait objects

7 years agoFix more doc issues
Oliver Schneider [Tue, 11 Apr 2017 12:10:11 +0000 (14:10 +0200)]
Fix more doc issues

7 years agoDon't lint about unused lifetimes if the lifetimes are used in the body of the function
Oliver Schneider [Tue, 11 Apr 2017 12:09:58 +0000 (14:09 +0200)]
Don't lint about unused lifetimes if the lifetimes are used in the body of the function

7 years agoMerge pull request #1671 from Manishearth/eq_op
Oliver Schneider [Mon, 10 Apr 2017 14:45:32 +0000 (16:45 +0200)]
Merge pull request #1671 from Manishearth/eq_op

Fix op_ref false positives

7 years agoLatest nightly produces more ellipses in output
Oliver Schneider [Mon, 10 Apr 2017 13:36:07 +0000 (15:36 +0200)]
Latest nightly produces more ellipses in output

7 years agoDogfood
Oliver Schneider [Mon, 10 Apr 2017 13:14:54 +0000 (15:14 +0200)]
Dogfood

7 years agoFix some doc errors
Oliver Schneider [Mon, 10 Apr 2017 13:10:29 +0000 (15:10 +0200)]
Fix some doc errors

7 years agoFix op_ref in case of nonexisting operations
Oliver Schneider [Mon, 10 Apr 2017 13:10:19 +0000 (15:10 +0200)]
Fix op_ref in case of nonexisting operations

7 years agoneedless_continue: Add ui test
Yati Sagade [Sun, 9 Apr 2017 12:20:14 +0000 (14:20 +0200)]
needless_continue: Add ui test

The test program contains both conditions tested by the lint, i.e.,
a redundant continue in the `if` and `else` blocks within a loop. Maybe
splitting them out and also having a program that should *not* trigger
the lint warning is better.

7 years agoneedless_continue: Add tests for helper functions to the needless_continue lint.
Yati Sagade [Sun, 9 Apr 2017 12:12:01 +0000 (14:12 +0200)]
needless_continue: Add tests for helper functions to the needless_continue lint.

Creating a test file per function sounds a bit excessive, so just
clubbing all needless_continue specific function tests into this module.

7 years agoutils: Add tests for the `align_blocks` helper in utils.
Yati Sagade [Sun, 9 Apr 2017 12:09:54 +0000 (14:09 +0200)]
utils: Add tests for the `align_blocks` helper in utils.

7 years agoneedless_continue: Refactor to use stuff from utils, and move some stuff to utils.
Yati Sagade [Sun, 9 Apr 2017 12:07:11 +0000 (14:07 +0200)]
needless_continue: Refactor to use stuff from utils, and move some stuff to utils.

I had my own implementation of what `trim_multiline()` seems to be doing, so
I just started using `trim_multiline()`. Some other functions, like
those block alignment, are general enough to be used elsewhere, so moved
them to utils.

7 years agoRun update_lints.py
Yati Sagade [Mon, 6 Feb 2017 13:31:29 +0000 (14:31 +0100)]
Run update_lints.py

7 years ago[needless_continue] Add comments explaining terminology used thoughout in the code.
Yati Sagade [Sat, 31 Dec 2016 21:35:39 +0000 (22:35 +0100)]
[needless_continue] Add comments explaining terminology used thoughout in the code.

7 years agoMore dogfood test fixes.
Yati Sagade [Sun, 21 Aug 2016 21:46:17 +0000 (23:46 +0200)]
More dogfood test fixes.

7 years agoFix lint warnings from dogfooding tests.
Yati Sagade [Sun, 21 Aug 2016 21:39:24 +0000 (23:39 +0200)]
Fix lint warnings from dogfooding tests.

7 years agoNeedless continue: This is a complete rewrite of this lint as an early-pass lint.
Yati Sagade [Sun, 21 Aug 2016 21:18:58 +0000 (23:18 +0200)]
Needless continue: This is a complete rewrite of this lint as an early-pass lint.

The previous version had troubles computing suggestions without macro expansions
creeping in. This fixes it by using original_sp, which works on AST nodes.

7 years agoAdd wiki updating to publish steps
Oliver Schneider [Fri, 7 Apr 2017 14:42:08 +0000 (16:42 +0200)]
Add wiki updating to publish steps

7 years agoBump the version
Oliver Schneider [Fri, 7 Apr 2017 09:25:00 +0000 (11:25 +0200)]
Bump the version

7 years agoReintroduce #768 so we can publish
Oliver Schneider [Fri, 7 Apr 2017 09:21:39 +0000 (11:21 +0200)]
Reintroduce #768 so we can publish

7 years agoMerge pull request #1649 from ensch/master
Oliver Schneider [Fri, 7 Apr 2017 09:13:44 +0000 (11:13 +0200)]
Merge pull request #1649 from ensch/master

Fix for rustc 1.18.0-nightly (5c94997b6 2017-03-30)

7 years agoEnable rls on this repo
Oliver Schneider [Thu, 6 Apr 2017 14:49:25 +0000 (16:49 +0200)]
Enable rls on this repo

7 years agoFix fallout
Oliver Schneider [Thu, 6 Apr 2017 14:49:13 +0000 (16:49 +0200)]
Fix fallout

7 years agopanic!("{}") lint is broken
Oliver Schneider [Thu, 6 Apr 2017 14:49:03 +0000 (16:49 +0200)]
panic!("{}") lint is broken

7 years agofix various rustup failures
Oliver Schneider [Thu, 6 Apr 2017 14:48:48 +0000 (16:48 +0200)]
fix various rustup failures

7 years agoMerge pull request #1652 from pgerber/with
Martin Carton [Sat, 1 Apr 2017 22:54:40 +0000 (00:54 +0200)]
Merge pull request #1652 from pgerber/with

correct message for `option_map_unwrap_or_else` lint

7 years agocorrect error message for `option_map_unwrap_or_else` lint
Peter Gerber [Sat, 1 Apr 2017 13:49:55 +0000 (15:49 +0200)]
correct error message for `option_map_unwrap_or_else` lint

Remove erroneous "with " in suggested alternative call.

7 years agoReenable mut_mut_macro.rs test
Enrico Schmitz [Fri, 31 Mar 2017 22:25:23 +0000 (00:25 +0200)]
Reenable mut_mut_macro.rs test

7 years agoRemove unused cs parameter for is_macro and friends
Enrico Schmitz [Fri, 31 Mar 2017 22:14:04 +0000 (00:14 +0200)]
Remove unused cs parameter for is_macro and friends

7 years agoFix src/needless_bool.rs by using ExprBlock(block) = then
Enrico Schmitz [Fri, 31 Mar 2017 21:46:08 +0000 (23:46 +0200)]
Fix src/needless_bool.rs by using ExprBlock(block) = then

7 years agoFixing src/copies.rs and src/entries.rs by using ExprBlock(block) = then.node
Enrico Schmitz [Fri, 31 Mar 2017 21:36:45 +0000 (23:36 +0200)]
Fixing src/copies.rs and src/entries.rs by using ExprBlock(block) = then.node

7 years agoFirst try for a fix for rustc 1.18.0-nightly (5c94997b6 2017-03-30
Enrico Schmitz [Fri, 31 Mar 2017 17:23:35 +0000 (19:23 +0200)]
First try for a fix for rustc 1.18.0-nightly (5c94997b6 2017-03-30

7 years agoMerge pull request #1613 from Manishearth/dont_ref_operator_args
Oliver Schneider [Thu, 30 Mar 2017 09:16:20 +0000 (11:16 +0200)]
Merge pull request #1613 from Manishearth/dont_ref_operator_args

Dont ref operator args

7 years agoDo some additional cleanup around `InternedString` and `Symbol`
Oliver Schneider [Thu, 30 Mar 2017 08:21:13 +0000 (10:21 +0200)]
Do some additional cleanup around `InternedString` and `Symbol`

7 years agoFix fallout
Oliver Schneider [Thu, 9 Mar 2017 09:58:31 +0000 (10:58 +0100)]
Fix fallout

7 years agoDon't create additional references when invoking binary operators
Oliver Schneider [Thu, 9 Mar 2017 09:56:17 +0000 (10:56 +0100)]
Don't create additional references when invoking binary operators

7 years agoMerge pull request #1640 from Manishearth/multiple_matching_crates
Martin Carton [Mon, 27 Mar 2017 17:47:45 +0000 (19:47 +0200)]
Merge pull request #1640 from Manishearth/multiple_matching_crates

Remove some legacy code

7 years agoRemove some legacy code
Oliver Schneider [Mon, 27 Mar 2017 12:51:37 +0000 (14:51 +0200)]
Remove some legacy code

7 years agoMerge pull request #1575 from tristianc/1537-drop_copy
Oliver Schneider [Fri, 24 Mar 2017 12:39:30 +0000 (13:39 +0100)]
Merge pull request #1575 from tristianc/1537-drop_copy

Calls to mem::drop on Copy types

7 years agoFix accidental newline in diagnostic and missing entries in lint_array!
Oliver Schneider [Fri, 24 Mar 2017 09:21:12 +0000 (10:21 +0100)]
Fix accidental newline in diagnostic and missing entries in lint_array!

7 years agoMerge remote-tracking branch 'origin/master' into 1537-drop_copy
Oliver Schneider [Fri, 24 Mar 2017 09:11:46 +0000 (10:11 +0100)]
Merge remote-tracking branch 'origin/master' into 1537-drop_copy

7 years agoMerge pull request #1617 from sinkuu/proc_macro_pass_by_value
Oliver Schneider [Fri, 24 Mar 2017 09:10:24 +0000 (10:10 +0100)]
Merge pull request #1617 from sinkuu/proc_macro_pass_by_value

Filter out proc_macro_derive functions

7 years agoMerge pull request #1627 from Manishearth/dont-panic
Oliver Schneider [Fri, 24 Mar 2017 09:09:59 +0000 (10:09 +0100)]
Merge pull request #1627 from Manishearth/dont-panic

Don't panic if traits not found

7 years agoFilter out proc_macro_derive functions (fixes #1615)
sinkuu [Sun, 12 Mar 2017 22:30:18 +0000 (07:30 +0900)]
Filter out proc_macro_derive functions (fixes #1615)

7 years agoRun rustfmt
Oliver Schneider [Tue, 21 Mar 2017 07:57:54 +0000 (08:57 +0100)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Tue, 21 Mar 2017 07:57:19 +0000 (08:57 +0100)]
Bump the version

7 years agoMerge pull request #1634 from ensch/master
Oliver Schneider [Tue, 21 Mar 2017 07:50:52 +0000 (08:50 +0100)]
Merge pull request #1634 from ensch/master

Fix for rustc 1.17.0-nightly (6eb9960d3 2017-03-19)

7 years agoFix appveyor curl path
Enrico Schmitz [Mon, 20 Mar 2017 23:52:52 +0000 (00:52 +0100)]
Fix appveyor curl path

7 years agoSimplify attr_is_cfg in returns.rs
Enrico Schmitz [Mon, 20 Mar 2017 23:34:05 +0000 (00:34 +0100)]
Simplify attr_is_cfg in returns.rs

7 years agoFix for rustc 1.17.0-nightly (6eb9960d3 2017-03-19)
Enrico Schmitz [Mon, 20 Mar 2017 22:51:14 +0000 (23:51 +0100)]
Fix for rustc 1.17.0-nightly (6eb9960d3 2017-03-19)

7 years agoMerge pull request #1629 from Manishearth/typos
Manish Goregaokar [Fri, 17 Mar 2017 23:41:44 +0000 (16:41 -0700)]
Merge pull request #1629 from Manishearth/typos

fix typos

7 years agofix typos
Andre Bogus [Fri, 17 Mar 2017 07:30:29 +0000 (08:30 +0100)]
fix typos

7 years agoRun rustfmt
Oliver Schneider [Fri, 17 Mar 2017 16:19:47 +0000 (17:19 +0100)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Fri, 17 Mar 2017 16:19:17 +0000 (17:19 +0100)]
Bump the version

7 years agoDon't panic if traits not found
Andre Bogus [Thu, 16 Mar 2017 07:57:17 +0000 (08:57 +0100)]
Don't panic if traits not found

7 years agoMerge pull request #1625 from Manishearth/rustup_catch
llogiq [Thu, 16 Mar 2017 07:56:29 +0000 (08:56 +0100)]
Merge pull request #1625 from Manishearth/rustup_catch

Rustup: Add ExprKind::Catch

7 years agoRustup: Add ExprKind::Catch
Andre Bogus [Wed, 15 Mar 2017 23:56:21 +0000 (00:56 +0100)]
Rustup: Add ExprKind::Catch

7 years agoMerge pull request #1620 from Manishearth/oli-obk-patch-2
Manish Goregaokar [Tue, 14 Mar 2017 15:29:47 +0000 (08:29 -0700)]
Merge pull request #1620 from Manishearth/oli-obk-patch-2

Update CONTRIBUTING.md

7 years agoUpdate CONTRIBUTING.md
Oliver Schneider [Tue, 14 Mar 2017 15:25:40 +0000 (16:25 +0100)]
Update CONTRIBUTING.md

7 years agoRun rustfmt
Oliver Schneider [Mon, 13 Mar 2017 10:32:58 +0000 (11:32 +0100)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Mon, 13 Mar 2017 10:32:28 +0000 (11:32 +0100)]
Bump the version

7 years agoMerge pull request #1619 from Techcable/fix/mir_passes
Oliver Schneider [Mon, 13 Mar 2017 10:30:02 +0000 (11:30 +0100)]
Merge pull request #1619 from Techcable/fix/mir_passes

Fix compilation on latest nightly

7 years agodon't lint macro_rules! in items_after_statements
Oliver Schneider [Mon, 13 Mar 2017 10:09:56 +0000 (11:09 +0100)]
don't lint macro_rules! in items_after_statements

7 years agoFix compilation on latest nightly
Techcable [Mon, 13 Mar 2017 03:13:20 +0000 (20:13 -0700)]
Fix compilation on latest nightly

The ability for plugins to add MIR passes was removed as of 4ca9c97ac.
Luckily, we don't use this feature at all and can safely ignore it.

Fixes #1618

7 years agoMerge pull request #1610 from Manishearth/no_const_warnings
Martin Carton [Tue, 7 Mar 2017 19:20:14 +0000 (20:20 +0100)]
Merge pull request #1610 from Manishearth/no_const_warnings

Don't lint `nan_cmp` and `zero_ptr` in constants

7 years agoDon't lint `nan_cmp` and `zero_ptr` in constants
Oliver Schneider [Tue, 7 Mar 2017 11:58:07 +0000 (12:58 +0100)]
Don't lint `nan_cmp` and `zero_ptr` in constants

7 years agoMerge pull request #1603 from Manishearth/publish
Oliver Schneider [Sun, 5 Mar 2017 10:11:46 +0000 (11:11 +0100)]
Merge pull request #1603 from Manishearth/publish

Rustup publish

7 years agoMostly apply rustfmt
Oliver Schneider [Sun, 5 Mar 2017 09:27:20 +0000 (10:27 +0100)]
Mostly apply rustfmt

7 years agoBump the version
Oliver Schneider [Sun, 5 Mar 2017 09:26:01 +0000 (10:26 +0100)]
Bump the version

7 years agoMerge pull request #1601 from ensch/master
Oliver Schneider [Sun, 5 Mar 2017 08:41:15 +0000 (09:41 +0100)]
Merge pull request #1601 from ensch/master

Fix for rustc 1.17.0-nightly (b1e31766d 2017-03-03)

7 years agoCFG::new now wants Body instead of Expr
Enrico Schmitz [Sun, 5 Mar 2017 02:10:46 +0000 (02:10 +0000)]
CFG::new now wants Body instead of Expr

7 years agoMerge pull request #1592 from Manishearth/node_id_to_type
Martin Carton [Fri, 3 Mar 2017 18:53:15 +0000 (19:53 +0100)]
Merge pull request #1592 from Manishearth/node_id_to_type

Bugfixes

7 years agoSimplify `snippet` body by forwarding to `snippet_opt`
Oliver Schneider [Fri, 3 Mar 2017 15:56:35 +0000 (16:56 +0100)]
Simplify `snippet` body by forwarding to `snippet_opt`

7 years agoFix single-match-else in the presence of macros expressions expanding to blocks
Oliver Schneider [Fri, 3 Mar 2017 15:56:16 +0000 (16:56 +0100)]
Fix single-match-else in the presence of macros expressions expanding to blocks

7 years agodeduplicate `single_match_else` reporting
Oliver Schneider [Fri, 3 Mar 2017 14:44:23 +0000 (15:44 +0100)]
deduplicate `single_match_else` reporting

7 years agoFix ice
Oliver Schneider [Fri, 3 Mar 2017 13:46:33 +0000 (14:46 +0100)]
Fix ice

7 years agoMerge pull request #1589 from sanmai-NL/patch-1
Oliver Schneider [Fri, 3 Mar 2017 12:20:40 +0000 (13:20 +0100)]
Merge pull request #1589 from sanmai-NL/patch-1

Add ‘ECMAScript’ to default `doc-valid-idents`