]> git.lizzy.rs Git - rust.git/log
rust.git
8 years agorustup: fix breakage in diagnostics API
Georg Brandl [Wed, 4 May 2016 06:54:59 +0000 (08:54 +0200)]
rustup: fix breakage in diagnostics API

Also adds a function to add the clippy wiki note, which is used a few times.

8 years agoMerge pull request #891 from oli-obk/doc_precise_spans
Martin Carton [Mon, 2 May 2016 12:52:43 +0000 (14:52 +0200)]
Merge pull request #891 from oli-obk/doc_precise_spans

markdown doc lints use exact span

8 years agodoc markdown lint shows the exact word location
Oliver Schneider [Mon, 2 May 2016 12:36:48 +0000 (14:36 +0200)]
doc markdown lint shows the exact word location

8 years agodoc markdown lint's span shows the line instead of the item
Oliver Schneider [Mon, 2 May 2016 12:36:33 +0000 (14:36 +0200)]
doc markdown lint's span shows the line instead of the item

8 years agoMerge branch 'pr-890'
Manish Goregaokar [Mon, 2 May 2016 09:13:11 +0000 (14:43 +0530)]
Merge branch 'pr-890'

8 years agosimilar_names should be allow-by-default
Oliver Schneider [Mon, 2 May 2016 08:53:09 +0000 (10:53 +0200)]
similar_names should be allow-by-default

8 years agodon't lint similar_names inside #[test] functions
Oliver Schneider [Mon, 2 May 2016 08:52:55 +0000 (10:52 +0200)]
don't lint similar_names inside #[test] functions

8 years agoMerge pull request #889 from Manishearth/fix-887
Manish Goregaokar [Sat, 30 Apr 2016 22:11:34 +0000 (03:41 +0530)]
Merge pull request #889 from Manishearth/fix-887

fix #887: New lints for integer/floating-point arithmetic

8 years agofixed tests, added clippy_restrictions lint group
Andre Bogus [Sat, 30 Apr 2016 21:54:10 +0000 (23:54 +0200)]
fixed tests, added clippy_restrictions lint group

8 years agolint remainder, document test w/ half expr
Andre Bogus [Sat, 30 Apr 2016 15:11:59 +0000 (17:11 +0200)]
lint remainder, document test w/ half expr

8 years agofix #887: New lints for integer/floating-point arithmetic
Andre Bogus [Sat, 30 Apr 2016 02:01:47 +0000 (04:01 +0200)]
fix #887: New lints for integer/floating-point arithmetic

8 years agoMerge pull request #882 from Manishearth/rustup
llogiq [Tue, 26 Apr 2016 14:22:35 +0000 (16:22 +0200)]
Merge pull request #882 from Manishearth/rustup

Rustup to rustc 1.10.0-nightly (645dd013a 2016-04-24); release 0.0.64

8 years agoUpdate changelog
mcarton [Tue, 26 Apr 2016 13:08:09 +0000 (15:08 +0200)]
Update changelog

8 years agoCentralize more paths
mcarton [Tue, 26 Apr 2016 11:43:23 +0000 (13:43 +0200)]
Centralize more paths

8 years agoFix paths resolution
mcarton [Tue, 26 Apr 2016 11:31:52 +0000 (13:31 +0200)]
Fix paths resolution

Put more paths into the `utils::paths` module.

8 years agoRustup to rustc 1.10.0-nightly (645dd013a 2016-04-24); release 0.0.64
Manish Goregaokar [Mon, 25 Apr 2016 20:31:49 +0000 (02:01 +0530)]
Rustup to rustc 1.10.0-nightly (645dd013a 2016-04-24); release 0.0.64

8 years agoMerge pull request #875 from Manishearth/fx-doc
Martin Carton [Sun, 24 Apr 2016 11:48:53 +0000 (13:48 +0200)]
Merge pull request #875 from Manishearth/fx-doc

Improve new_without_default docs

8 years agoImprove new_without_default docs
Manish Goregaokar [Sun, 24 Apr 2016 11:45:54 +0000 (17:15 +0530)]
Improve new_without_default docs

8 years agoMerge pull request #872 from oli-obk/cc_result
llogiq [Sat, 23 Apr 2016 15:11:12 +0000 (17:11 +0200)]
Merge pull request #872 from oli-obk/cc_result

cc: early returns are special

8 years agocc: early returns are special
Oliver 'ker' Schneider [Sat, 23 Apr 2016 12:30:05 +0000 (14:30 +0200)]
cc: early returns are special

8 years agoMerge pull request #867 from Manishearth/#830
llogiq [Sat, 23 Apr 2016 08:54:22 +0000 (10:54 +0200)]
Merge pull request #867 from Manishearth/#830

Check type for `SINGLE_CHAR_PATTERN`

8 years agoMerge pull request #870 from Manishearth/fix-722
Manish Goregaokar [Sat, 23 Apr 2016 08:29:23 +0000 (13:59 +0530)]
Merge pull request #870 from Manishearth/fix-722

allow items_after_statements by default

8 years agoallow items_after_statements by default
Andre Bogus [Sat, 23 Apr 2016 05:50:46 +0000 (07:50 +0200)]
allow items_after_statements by default

8 years agoFix grammar.
Georg Brandl [Fri, 22 Apr 2016 16:06:35 +0000 (18:06 +0200)]
Fix grammar.

8 years agoMerge pull request #868 from cramertj/master
Manish Goregaokar [Thu, 21 Apr 2016 17:06:55 +0000 (22:36 +0530)]
Merge pull request #868 from cramertj/master

Add lint for `mem::forget(_)`

8 years agoRan script to update README.md
Taylor Cramer [Thu, 21 Apr 2016 16:41:38 +0000 (09:41 -0700)]
Ran script to update README.md

8 years agoFixed destructor detection in mem_forget
Taylor Cramer [Thu, 21 Apr 2016 16:36:39 +0000 (09:36 -0700)]
Fixed destructor detection in mem_forget

8 years agoLimited mem_forget error to only Drop types (fails)
Taylor Cramer [Thu, 21 Apr 2016 02:24:31 +0000 (19:24 -0700)]
Limited mem_forget error to only Drop types (fails)

8 years agoChanged std::mem::forget errors to mem::forget
Taylor Cramer [Thu, 21 Apr 2016 01:55:41 +0000 (18:55 -0700)]
Changed std::mem::forget errors to mem::forget

8 years agoTicks around std::mem::forget
Taylor Cramer [Wed, 20 Apr 2016 20:33:05 +0000 (13:33 -0700)]
Ticks around std::mem::forget

8 years agoRan update_lints and updated CHANGELOG.md to reflect addition of mem_forget
Taylor Cramer [Wed, 20 Apr 2016 20:11:55 +0000 (13:11 -0700)]
Ran update_lints and updated CHANGELOG.md to reflect addition of mem_forget

8 years agoAdded lint for mem_forget
Taylor Cramer [Wed, 20 Apr 2016 20:10:23 +0000 (13:10 -0700)]
Added lint for mem_forget

8 years agoCheck type for `SINGLE_CHAR_PATTERN`
mcarton [Wed, 20 Apr 2016 19:09:38 +0000 (21:09 +0200)]
Check type for `SINGLE_CHAR_PATTERN`

It’d be nicer to actually check for `Pattern` bounds but in the meantime
this needs to be fixed.

8 years agoMerge pull request #866 from cramertj/master
Martin Carton [Wed, 20 Apr 2016 19:11:29 +0000 (21:11 +0200)]
Merge pull request #866 from cramertj/master

Add UNSAFE_REMOVED_FROM_NAME lint

8 years agoAdded unsafe_removed_from_name to new list in CHANGELOG.md
Taylor Cramer [Wed, 20 Apr 2016 16:27:12 +0000 (09:27 -0700)]
Added unsafe_removed_from_name to new list in CHANGELOG.md

8 years agoExpanded tests for unsafe_removed_from_name
Taylor Cramer [Wed, 20 Apr 2016 04:52:10 +0000 (21:52 -0700)]
Expanded tests for unsafe_removed_from_name

8 years agoRemoved unnecessary restriction of unsafe_removed_from_name to top-level use statements
Taylor Cramer [Wed, 20 Apr 2016 04:41:45 +0000 (21:41 -0700)]
Removed unnecessary restriction of unsafe_removed_from_name to top-level use statements

8 years agoRan update_lints script
Taylor Cramer [Tue, 19 Apr 2016 23:32:04 +0000 (16:32 -0700)]
Ran update_lints script

8 years agoAdded lint for use imports which remove unsafe from name
Taylor Cramer [Tue, 19 Apr 2016 23:27:01 +0000 (16:27 -0700)]
Added lint for use imports which remove unsafe from name

8 years agoadd neg_multiply lint (#862)
llogiq [Sun, 17 Apr 2016 21:33:21 +0000 (23:33 +0200)]
add neg_multiply lint (#862)

add neg_multiply lint

8 years agoMerge pull request #861 from birkenfeld/issue859
Martin Carton [Sun, 17 Apr 2016 11:03:31 +0000 (13:03 +0200)]
Merge pull request #861 from birkenfeld/issue859

Make if_not_else lint Allow by default (fixes #859)

8 years agoMake if_not_else lint Allow by default (fixes #859)
Georg Brandl [Sun, 17 Apr 2016 10:52:38 +0000 (12:52 +0200)]
Make if_not_else lint Allow by default (fixes #859)

8 years agoMerge pull request #856 from Manishearth/stuffs
Manish Goregaokar [Fri, 15 Apr 2016 00:17:27 +0000 (05:47 +0530)]
Merge pull request #856 from Manishearth/stuffs

Various ~~small~~ stuffs

8 years agoFix .travis.yml again
mcarton [Thu, 14 Apr 2016 23:41:06 +0000 (01:41 +0200)]
Fix .travis.yml again

8 years agoFix the `REGEX_MACRO` lint
mcarton [Thu, 14 Apr 2016 22:09:37 +0000 (00:09 +0200)]
Fix the `REGEX_MACRO` lint

[rust-lang-nursery/regex#183](https://github.com/rust-lang-nursery/regex/pull/183) has made the following change that broke the lint:

src/re.rs → src/re_unicode.rs

8 years agoFix regex tests
mcarton [Thu, 14 Apr 2016 19:24:46 +0000 (21:24 +0200)]
Fix regex tests

8 years agorustfmt all the things
mcarton [Thu, 14 Apr 2016 18:14:03 +0000 (20:14 +0200)]
rustfmt all the things

8 years agos/paths::LL/paths::LINKED_LIST
mcarton [Thu, 14 Apr 2016 16:41:38 +0000 (18:41 +0200)]
s/paths::LL/paths::LINKED_LIST

All other paths had non-abbreviated names.

8 years agoMove paths to their own module
mcarton [Thu, 14 Apr 2016 16:13:15 +0000 (18:13 +0200)]
Move paths to their own module

8 years agoAutogenerate CHANGELOG links to lints in wiki
mcarton [Thu, 14 Apr 2016 15:56:46 +0000 (17:56 +0200)]
Autogenerate CHANGELOG links to lints in wiki

8 years agoUpdate changelog
mcarton [Thu, 14 Apr 2016 15:27:57 +0000 (17:27 +0200)]
Update changelog

8 years agoAdd a `TEMPORARY_CSTRING_AS_PTR` lint
mcarton [Thu, 14 Apr 2016 15:25:31 +0000 (17:25 +0200)]
Add a `TEMPORARY_CSTRING_AS_PTR` lint

8 years agoIgnore `#[test]` fns in `cyclomatic_complexity`
mcarton [Tue, 5 Apr 2016 15:29:14 +0000 (17:29 +0200)]
Ignore `#[test]` fns in `cyclomatic_complexity`

8 years agoMerge pull request #855 from Manishearth/doc
Martin Carton [Wed, 13 Apr 2016 14:14:07 +0000 (16:14 +0200)]
Merge pull request #855 from Manishearth/doc

More tests for `DOC_MARKDOWN`

8 years agoRemove `#[feature(deprecated)]`
mcarton [Wed, 13 Apr 2016 14:07:45 +0000 (16:07 +0200)]
Remove `#[feature(deprecated)]`

Fixes `warning: this feature is stable. attribute no longer needed`.

8 years agoMore tests in `DOC_MARKDOWN`
mcarton [Wed, 13 Apr 2016 14:02:44 +0000 (16:02 +0200)]
More tests in `DOC_MARKDOWN`

8 years agoMerge pull request #851 from Manishearth/doc
Manish Goregaokar [Tue, 12 Apr 2016 03:52:39 +0000 (09:22 +0530)]
Merge pull request #851 from Manishearth/doc

Fix FP with `DOC_MARKDOWN` and reference links

8 years agoFix FP with `DOC_MARKDOWN` and reference links
mcarton [Mon, 11 Apr 2016 21:22:30 +0000 (23:22 +0200)]
Fix FP with `DOC_MARKDOWN` and reference links

8 years agoMerge pull request #850 from Manishearth/note_31439
Martin Carton [Mon, 11 Apr 2016 22:11:00 +0000 (00:11 +0200)]
Merge pull request #850 from Manishearth/note_31439

add a note of rust-lang/rust/#31439 to the wiki text

8 years agoadd a note of rust-lang/rust/#31439 to the wiki text
Andre Bogus [Mon, 11 Apr 2016 21:59:52 +0000 (23:59 +0200)]
add a note of rust-lang/rust/#31439 to the wiki text

8 years agoMarkdownify more doc
mcarton [Mon, 11 Apr 2016 21:23:49 +0000 (23:23 +0200)]
Markdownify more doc

8 years agoMerge pull request #843 from Manishearth/changelog
Martin Carton [Mon, 11 Apr 2016 19:40:40 +0000 (21:40 +0200)]
Merge pull request #843 from Manishearth/changelog

Add a changelog file

8 years agoAdd a changelog file
mcarton [Mon, 11 Apr 2016 19:37:21 +0000 (21:37 +0200)]
Add a changelog file

8 years agoMerge pull request #845 from Manishearth/rustup
Martin Carton [Fri, 8 Apr 2016 15:38:16 +0000 (17:38 +0200)]
Merge pull request #845 from Manishearth/rustup

Rustup to 1.9.0-nightly (7979dd608 2016-04-07)

8 years agoBump to 0.0.63
mcarton [Fri, 8 Apr 2016 15:32:04 +0000 (17:32 +0200)]
Bump to 0.0.63

8 years agoRustup to 1.9.0-nightly (7979dd608 2016-04-07)
mcarton [Fri, 8 Apr 2016 15:31:47 +0000 (17:31 +0200)]
Rustup to 1.9.0-nightly (7979dd608 2016-04-07)

8 years agoBump to 0.0.62
mcarton [Thu, 7 Apr 2016 16:35:51 +0000 (18:35 +0200)]
Bump to 0.0.62

8 years agoRustup to 1.9.0-nightly (bf5da36f1 2016-04-06)
mcarton [Thu, 7 Apr 2016 15:46:48 +0000 (17:46 +0200)]
Rustup to 1.9.0-nightly (bf5da36f1 2016-04-06)

8 years agoMerge pull request #836 from Manishearth/doc
llogiq [Mon, 4 Apr 2016 18:58:32 +0000 (20:58 +0200)]
Merge pull request #836 from Manishearth/doc

Fix false positive with `DOC_MARKDOWN` and `32MiB`

8 years agoFix false positive with `DOC_MARKDOWN` and `32MiB`
mcarton [Mon, 4 Apr 2016 18:18:17 +0000 (20:18 +0200)]
Fix false positive with `DOC_MARKDOWN` and `32MiB`

8 years agoMerge pull request #833 from mcarton/rustup
Martin Carton [Sun, 3 Apr 2016 15:27:15 +0000 (17:27 +0200)]
Merge pull request #833 from mcarton/rustup

Rustup to 1.9.0-nightly (5ab11d72c 2016-04-02)

8 years agoBump to 0.0.61
mcarton [Sun, 3 Apr 2016 15:17:55 +0000 (17:17 +0200)]
Bump to 0.0.61

8 years agoRustup to 1.9.0-nightly (5ab11d72c 2016-04-02)
mcarton [Sun, 3 Apr 2016 15:16:53 +0000 (17:16 +0200)]
Rustup to 1.9.0-nightly (5ab11d72c 2016-04-02)

8 years agoMerge pull request #802 (through #828)
Martin Carton [Sat, 2 Apr 2016 14:29:02 +0000 (16:29 +0200)]
Merge pull request #802 (through #828)

Bad Comparison of Upcasted Ints

8 years agoSmall fixes in #802
mcarton [Sat, 2 Apr 2016 13:51:28 +0000 (15:51 +0200)]
Small fixes in #802

8 years agoRustup PR #802
mcarton [Sat, 2 Apr 2016 13:43:58 +0000 (15:43 +0200)]
Rustup PR #802

8 years agoAdded tests for eq and neq invalid upcast comparisons
Taylor Cramer [Tue, 29 Mar 2016 05:08:58 +0000 (22:08 -0700)]
Added tests for eq and neq invalid upcast comparisons

8 years agoAdded eq and neq handling to invalid upcast comparisons
Taylor Cramer [Tue, 29 Mar 2016 05:06:57 +0000 (22:06 -0700)]
Added eq and neq handling to invalid upcast comparisons

8 years agoReverted to manual implementation of PartialEq for FullInt
Taylor Cramer [Tue, 29 Mar 2016 04:52:36 +0000 (21:52 -0700)]
Reverted to manual implementation of PartialEq for FullInt

8 years agoAdded > and >= tests for upcast comparisons
Taylor Cramer [Tue, 29 Mar 2016 04:44:18 +0000 (21:44 -0700)]
Added > and >= tests for upcast comparisons

8 years agoErased numeric type to reduce branching
Taylor Cramer [Tue, 29 Mar 2016 04:38:54 +0000 (21:38 -0700)]
Erased numeric type to reduce branching

8 years agoInvalid upcast comparison cleanup
Taylor Cramer [Sat, 26 Mar 2016 05:57:03 +0000 (22:57 -0700)]
Invalid upcast comparison cleanup

8 years agoTests passing for invalid_upcast_comparisons
Taylor Cramer [Fri, 25 Mar 2016 22:47:27 +0000 (15:47 -0700)]
Tests passing for invalid_upcast_comparisons

8 years agoUpdated lints with script
Taylor Cramer [Fri, 25 Mar 2016 09:44:45 +0000 (02:44 -0700)]
Updated lints with script

8 years agoInitial attempt at linting invalid upcast comparisons
Taylor Cramer [Fri, 25 Mar 2016 09:42:27 +0000 (02:42 -0700)]
Initial attempt at linting invalid upcast comparisons

8 years agoMerge pull request #826 from Manishearth/patho-bool
Manish Goregaokar [Fri, 1 Apr 2016 16:02:41 +0000 (21:32 +0530)]
Merge pull request #826 from Manishearth/patho-bool

Ignore pathological cases in boolean lint

8 years agoMerge pull request #824 from mcarton/doc
Manish Goregaokar [Fri, 1 Apr 2016 15:58:27 +0000 (21:28 +0530)]
Merge pull request #824 from mcarton/doc

Fix false positive with `DOC_MARKDOWN` and links + rustup

8 years agoBump to 0.0.60
Manish Goregaokar [Fri, 1 Apr 2016 15:55:38 +0000 (21:25 +0530)]
Bump to 0.0.60

8 years agoAdd regression test for #825
Manish Goregaokar [Fri, 1 Apr 2016 15:55:20 +0000 (21:25 +0530)]
Add regression test for #825

8 years agoIgnore pathological cases in boolean lint (#825)
Manish Goregaokar [Fri, 1 Apr 2016 15:54:26 +0000 (21:24 +0530)]
Ignore pathological cases  in boolean lint (#825)

8 years agoRustup to 1.9.0-nightly (e1195c24b 2016-03-31)
mcarton [Fri, 1 Apr 2016 15:48:13 +0000 (17:48 +0200)]
Rustup to 1.9.0-nightly (e1195c24b 2016-03-31)

This does not require a version bump, it only affects tests.

8 years agoFix false positive with `DOC_MARKDOWN` and links
mcarton [Fri, 1 Apr 2016 15:24:55 +0000 (17:24 +0200)]
Fix false positive with `DOC_MARKDOWN` and links

8 years agoImprove the `match_same_arms` doc
mcarton [Fri, 1 Apr 2016 11:14:39 +0000 (13:14 +0200)]
Improve the `match_same_arms` doc

8 years agoMerge pull request #822 from Manishearth/fix-820
llogiq [Fri, 1 Apr 2016 08:40:58 +0000 (10:40 +0200)]
Merge pull request #822 from Manishearth/fix-820

fix #820

8 years agofix #820
Andre Bogus [Fri, 1 Apr 2016 08:33:17 +0000 (10:33 +0200)]
fix #820

8 years agoMerge pull request #819 from oli-obk/more_whitelisted_names
llogiq [Thu, 31 Mar 2016 18:02:46 +0000 (20:02 +0200)]
Merge pull request #819 from oli-obk/more_whitelisted_names

whitelist more non-expressive-name false positives

8 years agowhitelist more non-expressive-name false positives
Oliver Schneider [Thu, 31 Mar 2016 13:38:43 +0000 (15:38 +0200)]
whitelist more non-expressive-name false positives

8 years agoMerge pull request #821 from mcarton/rustup
Martin Carton [Thu, 31 Mar 2016 15:26:13 +0000 (17:26 +0200)]
Merge pull request #821 from mcarton/rustup

Rustup to 1.9.0-nightly (30a3849f2 2016-03-30)

8 years agoBump to 0.0.59
mcarton [Thu, 31 Mar 2016 15:07:35 +0000 (17:07 +0200)]
Bump to 0.0.59

8 years agoRustup to 1.9.0-nightly (30a3849f2 2016-03-30)
mcarton [Thu, 31 Mar 2016 15:05:43 +0000 (17:05 +0200)]
Rustup to 1.9.0-nightly (30a3849f2 2016-03-30)