]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agobetter simplification
Oliver Schneider [Wed, 23 Mar 2016 11:19:13 +0000 (12:19 +0100)]
better simplification

8 years agoMerge pull request #808 from mcarton/copies
Manish Goregaokar [Tue, 29 Mar 2016 03:09:24 +0000 (08:39 +0530)]
Merge pull request #808 from mcarton/copies

Fix false positive in `MATCH_SAME_ARMS` and guards

8 years agoFix false positive in `MATCH_SAME_ARMS` and guards
mcarton [Mon, 28 Mar 2016 23:39:35 +0000 (01:39 +0200)]
Fix false positive in `MATCH_SAME_ARMS` and guards

8 years agoMerge pull request #807 from mcarton/vec
llogiq [Mon, 28 Mar 2016 22:43:02 +0000 (00:43 +0200)]
Merge pull request #807 from mcarton/vec

Add `for _ in vec![…]` to the `USELESS_VEC` lint

8 years agoAdd `for _ in vec![…]` to the `USELESS_VEC` lint
mcarton [Mon, 28 Mar 2016 21:32:55 +0000 (23:32 +0200)]
Add `for _ in vec![…]` to the `USELESS_VEC` lint

8 years agoMerge pull request #780 from mcarton/doc
llogiq [Mon, 28 Mar 2016 20:41:06 +0000 (22:41 +0200)]
Merge pull request #780 from mcarton/doc

Doc stuff

8 years agoAddress nits in DOC_MARKDOWN
mcarton [Mon, 28 Mar 2016 19:23:21 +0000 (21:23 +0200)]
Address nits in DOC_MARKDOWN

8 years agoImprove the DOC_MARKDOWN lint
mcarton [Mon, 28 Mar 2016 16:00:24 +0000 (18:00 +0200)]
Improve the DOC_MARKDOWN lint

`_` can be used for emphasize text. `::` is equality as bad outside
ticks.

8 years agoAdd a lint for bad documentation formatting
mcarton [Sat, 19 Mar 2016 16:59:12 +0000 (17:59 +0100)]
Add a lint for bad documentation formatting

8 years agoBeautify more docs
mcarton [Sat, 19 Mar 2016 16:48:29 +0000 (17:48 +0100)]
Beautify more docs

8 years ago`chmod -x` test files
mcarton [Sat, 19 Mar 2016 14:09:24 +0000 (15:09 +0100)]
`chmod -x` test files

8 years agoFix some spelling mistakes here and there
mcarton [Sat, 19 Mar 2016 14:06:56 +0000 (15:06 +0100)]
Fix some spelling mistakes here and there

8 years agoMerge pull request #801 from mcarton/transmute
llogiq [Mon, 28 Mar 2016 19:17:42 +0000 (21:17 +0200)]
Merge pull request #801 from mcarton/transmute

Lint transmute from ptr to ref

8 years agos/cx.span_lint/span_lint(cx, /
mcarton [Sat, 26 Mar 2016 00:49:45 +0000 (01:49 +0100)]
s/cx.span_lint/span_lint(cx, /

8 years agoLint transmute from ptr to ref
mcarton [Fri, 25 Mar 2016 22:22:17 +0000 (23:22 +0100)]
Lint transmute from ptr to ref

8 years agoUpdate contributing with new links
Manish Goregaokar [Sun, 27 Mar 2016 20:30:35 +0000 (02:00 +0530)]
Update contributing with new links

8 years agoBump to 0.0.58
Manish Goregaokar [Sun, 27 Mar 2016 20:29:25 +0000 (01:59 +0530)]
Bump to 0.0.58

8 years agoFix ICE
Manish Goregaokar [Sun, 27 Mar 2016 20:28:57 +0000 (01:58 +0530)]
Fix ICE

8 years agoUpdate rust-clippy to rustc 1.9.0-nightly (d5a91e695 2016-03-26)
josephDunne [Sun, 27 Mar 2016 18:59:02 +0000 (19:59 +0100)]
Update rust-clippy to rustc 1.9.0-nightly (d5a91e695 2016-03-26)

move cfg, infer, traits and ty from middle to top-level
move middle::subst into middle::ty
track the extern-crate def-id rather than path (rustc ab9b844)

8 years agoRm extraneous infcx
Manish Goregaokar [Sat, 26 Mar 2016 23:27:25 +0000 (04:57 +0530)]
Rm extraneous infcx

8 years agoBump 0.0.56
Manish Goregaokar [Sat, 26 Mar 2016 23:01:02 +0000 (04:31 +0530)]
Bump 0.0.56

8 years agoMerge pull request #803 from Manishearth/fixes
Manish Goregaokar [Sat, 26 Mar 2016 23:01:02 +0000 (04:31 +0530)]
Merge pull request #803 from Manishearth/fixes

ICE fixes and other things

8 years agoStop using ast_ty_to_ty_cache
Manish Goregaokar [Sat, 26 Mar 2016 22:54:55 +0000 (04:24 +0530)]
Stop using ast_ty_to_ty_cache

It's not reliable and gets cleared`

8 years agoAllow trailing commas in if_let_chain
Manish Goregaokar [Sat, 26 Mar 2016 22:54:42 +0000 (04:24 +0530)]
Allow trailing commas in if_let_chain

8 years agoFix ICE with unknown defids
Manish Goregaokar [Sat, 26 Mar 2016 21:15:14 +0000 (02:45 +0530)]
Fix ICE with unknown defids

8 years agoAdd test for new() -> Self<'static>
Manish Goregaokar [Sat, 26 Mar 2016 21:14:55 +0000 (02:44 +0530)]
Add test for new() -> Self<'static>

8 years agoFix ICE with relating late bound regions
Manish Goregaokar [Sat, 26 Mar 2016 21:14:25 +0000 (02:44 +0530)]
Fix ICE with relating late bound regions

8 years agoMerge pull request #797 from cramertj/master
llogiq [Thu, 24 Mar 2016 23:59:47 +0000 (00:59 +0100)]
Merge pull request #797 from cramertj/master

Added crosspointer transmute error and tests

8 years agoRan python lint updater
Taylor Cramer [Thu, 24 Mar 2016 23:39:22 +0000 (16:39 -0700)]
Ran python lint updater

8 years agoCleanup and added transmute to ugly path list
Taylor Cramer [Thu, 24 Mar 2016 23:38:16 +0000 (16:38 -0700)]
Cleanup and added transmute to ugly path list

8 years agoMerge pull request #796 from TimNN/patch-1
Manish Goregaokar [Thu, 24 Mar 2016 23:15:38 +0000 (04:45 +0530)]
Merge pull request #796 from TimNN/patch-1

Mention running optional clippy dependency with `cargo rustc`

8 years agoAdded crosspointer transmute error and tests
Taylor Cramer [Thu, 24 Mar 2016 22:48:38 +0000 (15:48 -0700)]
Added crosspointer transmute error and tests

8 years agoMention running optional clippy dependency with `cargo rustc`
Tim Neumann [Thu, 24 Mar 2016 22:03:51 +0000 (23:03 +0100)]
Mention running optional clippy dependency with `cargo rustc`

8 years agoMerge pull request #795 from mcarton/deprecated
Manish Goregaokar [Thu, 24 Mar 2016 19:10:37 +0000 (00:40 +0530)]
Merge pull request #795 from mcarton/deprecated

Deprecates 4 lints

8 years agoDeprecates 4 lints
mcarton [Thu, 24 Mar 2016 18:25:59 +0000 (19:25 +0100)]
Deprecates 4 lints

Namely STR_TO_STRING, STRING_TO_STRING, UNSTABLE_AS_SLICE and
UNSTABLE_AS_MUT_SLICE.

8 years agoMerge pull request #794 from Keats/master
Martin Carton [Thu, 24 Mar 2016 17:13:02 +0000 (18:13 +0100)]
Merge pull request #794 from Keats/master

Update float_cmp message

8 years agoUpdate float_cmp message
Vincent Prouillet [Thu, 24 Mar 2016 17:07:55 +0000 (17:07 +0000)]
Update float_cmp message

8 years agoMerge pull request #791 from Jascha-N/fix-fnkind-pattern
Martin Carton [Wed, 23 Mar 2016 15:38:13 +0000 (16:38 +0100)]
Merge pull request #791 from Jascha-N/fix-fnkind-pattern

Match attributes in FnKind patterns

8 years agoMatch attributes in FnKind patterns
Jascha [Wed, 23 Mar 2016 15:11:24 +0000 (16:11 +0100)]
Match attributes in FnKind patterns

8 years agoMerge pull request #727 from oli-obk/similar_names
Manish Goregaokar [Mon, 21 Mar 2016 05:05:36 +0000 (10:35 +0530)]
Merge pull request #727 from oli-obk/similar_names

lint on binding-names that are too similar

8 years agoBump to 0.0.55
mcarton [Mon, 21 Mar 2016 00:21:39 +0000 (01:21 +0100)]
Bump to 0.0.55

8 years agofixed the build
Andre Bogus [Sun, 20 Mar 2016 20:24:18 +0000 (21:24 +0100)]
fixed the build

8 years agoMerge pull request #781 from badboy/patch-1
llogiq [Sun, 20 Mar 2016 19:44:16 +0000 (20:44 +0100)]
Merge pull request #781 from badboy/patch-1

Fix typo in new_without_default docu

8 years agoFix typo in new_without_default docu
Jan-Erik Rediger [Sun, 20 Mar 2016 19:32:22 +0000 (20:32 +0100)]
Fix typo in new_without_default docu

8 years agoMerge pull request #778 from mcarton/fix-new_without_default
llogiq [Fri, 18 Mar 2016 20:12:41 +0000 (21:12 +0100)]
Merge pull request #778 from mcarton/fix-new_without_default

Fix `new_without_default` with lts and generics

8 years agoFix `new_without_default` with lts and generics
mcarton [Fri, 18 Mar 2016 18:12:32 +0000 (19:12 +0100)]
Fix `new_without_default` with lts and generics

8 years agoupdate for compiletest update
Oliver Schneider [Thu, 17 Mar 2016 12:04:33 +0000 (13:04 +0100)]
update for compiletest update

8 years agouse snippet_opt and span_suggestion
Oliver Schneider [Mon, 14 Mar 2016 16:13:10 +0000 (17:13 +0100)]
use snippet_opt and span_suggestion

8 years agoimprove needless_bool to catch odd construct in non_expressive_names
Oliver Schneider [Mon, 14 Mar 2016 15:41:41 +0000 (16:41 +0100)]
improve needless_bool to catch odd construct in non_expressive_names

8 years agomake single char names threshold configurable
Oliver Schneider [Mon, 14 Mar 2016 13:56:44 +0000 (14:56 +0100)]
make single char names threshold configurable

8 years agorefactor for speed
Oliver Schneider [Mon, 14 Mar 2016 13:34:47 +0000 (14:34 +0100)]
refactor for speed

8 years agofix and rebase
Oliver Schneider [Mon, 14 Mar 2016 09:18:09 +0000 (10:18 +0100)]
fix and rebase

8 years agorefactoring and bugfix
Oliver Schneider [Tue, 8 Mar 2016 13:36:21 +0000 (14:36 +0100)]
refactoring and bugfix

8 years agolint on too many single character bindings
Oliver Schneider [Tue, 1 Mar 2016 12:05:39 +0000 (13:05 +0100)]
lint on too many single character bindings

8 years agosuggest inserting underscores for simple cases
Oliver Schneider [Tue, 1 Mar 2016 09:34:45 +0000 (10:34 +0100)]
suggest inserting underscores for simple cases

8 years agolint on binding-names that are too similar
Oliver Schneider [Tue, 1 Mar 2016 09:13:54 +0000 (10:13 +0100)]
lint on binding-names that are too similar

8 years agoMerge pull request #772 from oli-obk/const_int
Martin Carton [Thu, 17 Mar 2016 12:57:09 +0000 (13:57 +0100)]
Merge pull request #772 from oli-obk/const_int

refactor clippy-consts to use ConstInt

8 years agofix `Eq`+`Hash` for `Constant`
Oliver Schneider [Wed, 16 Mar 2016 15:28:31 +0000 (16:28 +0100)]
fix `Eq`+`Hash` for `Constant`

8 years agorefactor clippy-consts to use ConstInt
Oliver Schneider [Wed, 16 Mar 2016 11:38:26 +0000 (12:38 +0100)]
refactor clippy-consts to use ConstInt

8 years agoMerge pull request #773 from mcarton/rustup
Martin Carton [Wed, 16 Mar 2016 19:05:38 +0000 (20:05 +0100)]
Merge pull request #773 from mcarton/rustup

Rustup to *1.9.0-nightly (c66d2380a 2016-03-15)*

8 years agoBump to 0.0.54
mcarton [Wed, 16 Mar 2016 15:57:38 +0000 (16:57 +0100)]
Bump to 0.0.54

8 years agoTemporary fix for rustc warning false-positive?
mcarton [Wed, 16 Mar 2016 18:26:14 +0000 (19:26 +0100)]
Temporary fix for rustc warning false-positive?

8 years agoRustup to *1.9.0-nightly (c66d2380a 2016-03-15)*
mcarton [Wed, 16 Mar 2016 15:57:11 +0000 (16:57 +0100)]
Rustup to *1.9.0-nightly (c66d2380a 2016-03-15)*

8 years agoMerge pull request #767 from mcarton/fix-ice
Manish Goregaokar [Tue, 15 Mar 2016 20:23:12 +0000 (01:53 +0530)]
Merge pull request #767 from mcarton/fix-ice

Fix #765 & #763 & #768

8 years agoFix `conf.rs` path in `update_wiki`
mcarton [Tue, 15 Mar 2016 20:17:26 +0000 (21:17 +0100)]
Fix `conf.rs` path in `update_wiki`

8 years agoFix problem in PANIC_PARAMS with inner `format!`
mcarton [Tue, 15 Mar 2016 20:02:08 +0000 (21:02 +0100)]
Fix problem in PANIC_PARAMS with inner `format!`

8 years agoUse `span_suggestion` in `STRING_LIT_AS_BYTES`
mcarton [Mon, 14 Mar 2016 21:03:30 +0000 (22:03 +0100)]
Use `span_suggestion` in `STRING_LIT_AS_BYTES`

8 years agoFix false positive with STRING_LIT_AS_BYTES and stringify!
mcarton [Mon, 14 Mar 2016 21:00:01 +0000 (22:00 +0100)]
Fix false positive with STRING_LIT_AS_BYTES and stringify!

8 years agoFix ICE in `OUT_OF_BOUNDS_INDEXING` with ranges
mcarton [Mon, 14 Mar 2016 20:48:24 +0000 (21:48 +0100)]
Fix ICE in `OUT_OF_BOUNDS_INDEXING` with ranges

8 years agoBump to 0.0.53
mcarton [Tue, 15 Mar 2016 19:26:01 +0000 (20:26 +0100)]
Bump to 0.0.53

8 years agoMerge pull request #769 from oli-obk/rustup
Martin Carton [Tue, 15 Mar 2016 19:21:59 +0000 (20:21 +0100)]
Merge pull request #769 from oli-obk/rustup

Rustup to rustc 1.9.0-nightly (6d215fe04 2016-03-14)

8 years agorustup const eval changes
Oliver 'ker' Schneider [Tue, 15 Mar 2016 19:09:53 +0000 (20:09 +0100)]
rustup const eval changes

8 years agoUpdate to rustc 1.9.0-nightly (6d215fe04 2016-03-14)
Manish Goregaokar [Tue, 15 Mar 2016 15:33:08 +0000 (21:03 +0530)]
Update to rustc 1.9.0-nightly (6d215fe04 2016-03-14)

8 years agoRust upgrade to rustc 1.9.0-nightly (74b886ab1 2016-03-13), update compiletest
Manish Goregaokar [Tue, 15 Mar 2016 09:11:56 +0000 (14:41 +0530)]
Rust upgrade to rustc 1.9.0-nightly (74b886ab1 2016-03-13), update compiletest

8 years agoMerge pull request #764 from oli-obk/fix/cc/multi_diverge
Martin Carton [Mon, 14 Mar 2016 16:32:22 +0000 (17:32 +0100)]
Merge pull request #764 from oli-obk/fix/cc/multi_diverge

prevent cc lint from panicking on unreachable code

8 years agoprevent cc lint from panicking on unreachable code
Oliver Schneider [Mon, 14 Mar 2016 16:24:55 +0000 (17:24 +0100)]
prevent cc lint from panicking on unreachable code

8 years agoMerge pull request #698 from mcarton/conf
Manish Goregaokar [Sun, 13 Mar 2016 14:03:03 +0000 (19:33 +0530)]
Merge pull request #698 from mcarton/conf

Add a configuration file and a POC `BLACKLISTED_NAME` lint

8 years agoBump to 0.0.51
mcarton [Sun, 13 Mar 2016 00:30:20 +0000 (01:30 +0100)]
Bump to 0.0.51

It fixes a false positive in mustache.

8 years agoMerge pull request #760 from mcarton/small-fix
llogiq [Sat, 12 Mar 2016 21:36:45 +0000 (22:36 +0100)]
Merge pull request #760 from mcarton/small-fix

Small fix × 2

8 years agoFix false-positive in `panic_params`
mcarton [Sat, 12 Mar 2016 20:23:01 +0000 (21:23 +0100)]
Fix false-positive in `panic_params`

It might still have false positives, but it’s even less likely.

8 years agoAdd `str` to types considered by `len_zero`
mcarton [Sat, 12 Mar 2016 20:12:35 +0000 (21:12 +0100)]
Add `str` to types considered by `len_zero`

8 years agoDogfood
mcarton [Sat, 12 Mar 2016 20:23:35 +0000 (21:23 +0100)]
Dogfood

8 years agos/Clippy.toml/clippy.toml
mcarton [Wed, 9 Mar 2016 10:48:55 +0000 (11:48 +0100)]
s/Clippy.toml/clippy.toml

8 years agoLint function with too many arguments
mcarton [Tue, 8 Mar 2016 23:48:10 +0000 (00:48 +0100)]
Lint function with too many arguments

8 years agoDon’t make conf errors fatal errors
mcarton [Sun, 6 Mar 2016 14:48:56 +0000 (15:48 +0100)]
Don’t make conf errors fatal errors

8 years agomv src/conf.rs src/utils
mcarton [Sun, 6 Mar 2016 14:17:51 +0000 (15:17 +0100)]
mv src/conf.rs src/utils

8 years agoWhite-list `third-party` in conf files
mcarton [Sun, 6 Mar 2016 13:40:25 +0000 (14:40 +0100)]
White-list `third-party` in conf files

8 years agoRustfmt
mcarton [Mon, 29 Feb 2016 16:48:20 +0000 (17:48 +0100)]
Rustfmt

8 years agoDocument the configuration file
mcarton [Mon, 22 Feb 2016 14:50:40 +0000 (15:50 +0100)]
Document the configuration file

8 years agoAdd a `BLACKLISTED_NAME` lint
mcarton [Mon, 22 Feb 2016 14:42:24 +0000 (15:42 +0100)]
Add a `BLACKLISTED_NAME` lint

8 years agoAdd configuration variables to wiki
mcarton [Mon, 22 Feb 2016 13:25:51 +0000 (14:25 +0100)]
Add configuration variables to wiki

8 years agoUse configuration in the `TYPE_COMPLEXITY` lint
mcarton [Sun, 21 Feb 2016 20:01:30 +0000 (21:01 +0100)]
Use configuration in the `TYPE_COMPLEXITY` lint

8 years agoStart implementing a configuration file
mcarton [Sun, 21 Feb 2016 19:11:32 +0000 (20:11 +0100)]
Start implementing a configuration file

8 years agoMerge branch 'aochagavia-indexing_slicing'
mcarton [Fri, 11 Mar 2016 21:14:43 +0000 (22:14 +0100)]
Merge branch 'aochagavia-indexing_slicing'

8 years agoSmall nits on INDEXING_SLICING
mcarton [Fri, 11 Mar 2016 21:10:40 +0000 (22:10 +0100)]
Small nits on INDEXING_SLICING

8 years agoLint against indexing and slicing
Adolfo Ochagavía [Fri, 11 Mar 2016 09:51:16 +0000 (10:51 +0100)]
Lint against indexing and slicing

This can be useful to prevent panics in a codebase. ATM it is a pedantic
lint, but in the future it should be added to the restricions group.

8 years agoMerge pull request #757 from mcarton/fix-ranges
Martin Carton [Fri, 11 Mar 2016 19:31:20 +0000 (20:31 +0100)]
Merge pull request #757 from mcarton/fix-ranges

Fix `unsugar_range` with `..`

8 years agoFix `unsugar_range` with `..`
mcarton [Fri, 11 Mar 2016 19:27:33 +0000 (20:27 +0100)]
Fix `unsugar_range` with `..`

8 years agoFix punctuation in README
mcarton [Fri, 11 Mar 2016 12:19:51 +0000 (13:19 +0100)]
Fix punctuation in README

8 years agoMerge pull request #754 from mcarton/rustup
Martin Carton [Fri, 11 Mar 2016 13:23:45 +0000 (14:23 +0100)]
Merge pull request #754 from mcarton/rustup

Rustup to 1.9.0-nightly (c9629d61c 2016-03-10)