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

7 years agoAdd ECMAScript to default `doc-valid-idents`
Sander Maijers [Fri, 3 Mar 2017 11:28:15 +0000 (12:28 +0100)]
Add ECMAScript to default `doc-valid-idents`

FYI, https://en.wikipedia.org/wiki/ECMAScript .

7 years agoMerge branch 'master' of github.com:Manishearth/rust-clippy into rustup
Oliver Schneider [Thu, 2 Mar 2017 12:23:55 +0000 (13:23 +0100)]
Merge branch 'master' of github.com:Manishearth/rust-clippy into rustup

7 years agoBump the version
Oliver Schneider [Thu, 2 Mar 2017 11:27:32 +0000 (12:27 +0100)]
Bump the version

7 years agoMerge pull request #1584 from ensch/master
Oliver Schneider [Thu, 2 Mar 2017 11:26:23 +0000 (12:26 +0100)]
Merge pull request #1584 from ensch/master

Fix for rustc 1.17.0-nightly (be760566c 2017-02-28)

7 years agoFix invalid_upcast_comparisons lint for same size sign casts
Oliver Schneider [Thu, 2 Mar 2017 09:41:20 +0000 (10:41 +0100)]
Fix invalid_upcast_comparisons lint for same size sign casts

7 years agoAlmost there
Oliver Schneider [Wed, 1 Mar 2017 17:46:18 +0000 (18:46 +0100)]
Almost there

7 years agoHandle all types in to_const_range
Enrico Schmitz [Wed, 1 Mar 2017 15:17:30 +0000 (16:17 +0100)]
Handle all types in to_const_range

7 years agoUse expect instead of unwrap to make clippy happy
Enrico Schmitz [Wed, 1 Mar 2017 14:42:58 +0000 (15:42 +0100)]
Use expect instead of unwrap to make clippy happy

7 years agoRemove old tests for ConstInt::Infer as it has been removed
Enrico Schmitz [Wed, 1 Mar 2017 14:38:31 +0000 (15:38 +0100)]
Remove old tests for ConstInt::Infer as it has been removed

7 years agoAlso handle ConstFloat::F32 in is_allowed
Enrico Schmitz [Wed, 1 Mar 2017 14:33:32 +0000 (15:33 +0100)]
Also handle ConstFloat::F32 in is_allowed

7 years agoUsing to_u128_unchecked and int_type instead of creating a ConstantInt
Enrico Schmitz [Wed, 1 Mar 2017 14:26:40 +0000 (15:26 +0100)]
Using to_u128_unchecked and int_type instead of creating a ConstantInt

7 years agoHandle signed types in node_as_const_fullint
Enrico Schmitz [Wed, 1 Mar 2017 14:06:53 +0000 (15:06 +0100)]
Handle signed types in node_as_const_fullint

7 years agoUsing f.unsafety() instead of f.skip_binder().unsafety
Enrico Schmitz [Wed, 1 Mar 2017 13:46:35 +0000 (14:46 +0100)]
Using f.unsafety() instead of f.skip_binder().unsafety

7 years agoFix wrong life time for all_ranges
Enrico Schmitz [Wed, 1 Mar 2017 13:45:45 +0000 (14:45 +0100)]
Fix wrong life time for all_ranges

7 years agoArray lengths are usize, so you need ConstInt::Usize(...)
Enrico Schmitz [Wed, 1 Mar 2017 13:44:52 +0000 (14:44 +0100)]
Array lengths are usize, so you need ConstInt::Usize(...)

7 years agoMake tests compile for rustc 1.17.0-nightly (be760566c 2017-02-28)
Enrico Schmitz [Wed, 1 Mar 2017 13:33:17 +0000 (14:33 +0100)]
Make tests compile for rustc 1.17.0-nightly (be760566c 2017-02-28)

7 years agoRemove unused import
Oliver Schneider [Wed, 1 Mar 2017 13:07:08 +0000 (14:07 +0100)]
Remove unused import

7 years agoFix for rustc 1.17.0-nightly (be760566c 2017-02-28)
Enrico Schmitz [Wed, 1 Mar 2017 12:24:19 +0000 (13:24 +0100)]
Fix for rustc 1.17.0-nightly (be760566c 2017-02-28)

7 years agoMerge pull request #1581 from Manishearth/cargofix
Oliver Schneider [Tue, 28 Feb 2017 13:30:15 +0000 (14:30 +0100)]
Merge pull request #1581 from Manishearth/cargofix

Get cargo clippy working on 64 bit windows again

7 years agoRun rustfmt
Oliver Schneider [Tue, 28 Feb 2017 13:29:06 +0000 (14:29 +0100)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Tue, 28 Feb 2017 13:27:54 +0000 (14:27 +0100)]
Bump the version

7 years agoGet cargo clippy working on 64 bit windows again
Oliver Schneider [Tue, 28 Feb 2017 11:47:48 +0000 (12:47 +0100)]
Get cargo clippy working on 64 bit windows again

fixes #1244

7 years agoMerge branch 'master' into 1537-drop_copy
Oliver Schneider [Mon, 27 Feb 2017 11:36:34 +0000 (12:36 +0100)]
Merge branch 'master' into 1537-drop_copy

7 years agoMerge pull request #1578 from Manishearth/rustup
Oliver Schneider [Mon, 27 Feb 2017 09:29:17 +0000 (10:29 +0100)]
Merge pull request #1578 from Manishearth/rustup

Rustup

7 years agoFix list of markdown links
Oliver Schneider [Mon, 27 Feb 2017 08:54:42 +0000 (09:54 +0100)]
Fix list of markdown links

7 years agoFix order of publishing steps
Oliver Schneider [Mon, 27 Feb 2017 08:49:18 +0000 (09:49 +0100)]
Fix order of publishing steps

7 years agoRun rustfmt
Oliver Schneider [Mon, 27 Feb 2017 08:49:02 +0000 (09:49 +0100)]
Run rustfmt

7 years agoBump the version
Oliver Schneider [Mon, 27 Feb 2017 08:48:13 +0000 (09:48 +0100)]
Bump the version

7 years agorustup
Oliver Schneider [Mon, 27 Feb 2017 08:45:02 +0000 (09:45 +0100)]
rustup

7 years agoAdd space between colon and type annotation
Tristian Celestin [Mon, 27 Feb 2017 04:07:53 +0000 (23:07 -0500)]
Add space between colon and type annotation
Wrapped string in Rust don't require a backslash

7 years agoMerged drop_forget_ref.rs with drop_forget_copy.rs.
Tristian Celestin [Mon, 27 Feb 2017 02:32:41 +0000 (21:32 -0500)]
Merged drop_forget_ref.rs with drop_forget_copy.rs.
Moved constant message strings out of declare_lint! macros.

7 years agoStored linter messages in constants.
Tristian Celestin [Sun, 26 Feb 2017 22:57:56 +0000 (17:57 -0500)]
Stored linter messages in constants.
Use is_copy() function instead of calling moves_by_default()

7 years agoMerge branch 'master' into 1537-drop_copy
Tristian Celestin [Sun, 26 Feb 2017 04:11:21 +0000 (23:11 -0500)]
Merge branch 'master' into 1537-drop_copy

7 years agoWarn on calls to `std::mem::drop` or `std::mem::forget` with a `Copy` type
Tristian Celestin [Sun, 26 Feb 2017 03:55:43 +0000 (22:55 -0500)]
Warn on calls to `std::mem::drop` or `std::mem::forget` with a `Copy` type

7 years agoMerge pull request #1573 from sinkuu/len_zero_slice
llogiq [Sat, 25 Feb 2017 06:29:58 +0000 (07:29 +0100)]
Merge pull request #1573 from sinkuu/len_zero_slice

Enable `len_zero` for slices

7 years agoEnable `len_zero` for slices
sinkuu [Sat, 25 Feb 2017 03:26:33 +0000 (12:26 +0900)]
Enable `len_zero` for slices

7 years agoMerge pull request #1572 from steveklabnik/patch-1
Manish Goregaokar [Thu, 23 Feb 2017 01:38:09 +0000 (17:38 -0800)]
Merge pull request #1572 from steveklabnik/patch-1

update semver version

7 years agoupdate semver version
Steve Klabnik [Wed, 22 Feb 2017 20:52:57 +0000 (15:52 -0500)]
update semver version

7 years agoMerge pull request #1561 from Manishearth/zero_ptr
Oliver Schneider [Wed, 22 Feb 2017 12:34:28 +0000 (13:34 +0100)]
Merge pull request #1561 from Manishearth/zero_ptr

New zero_ptr lint.

7 years agoMerge pull request #1571 from sinkuu/assert_ne
Oliver Schneider [Wed, 22 Feb 2017 08:31:19 +0000 (09:31 +0100)]
Merge pull request #1571 from sinkuu/assert_ne

Suggest `assert_ne` for `assert!(x != y)`