Commit graph

1343 commits

Author SHA1 Message Date
Martin Carton
397b940225 Merge pull request #891 from oli-obk/doc_precise_spans
markdown doc lints use exact span
2016-05-02 14:52:43 +02:00
Oliver Schneider
3a32c2c596 doc markdown lint shows the exact word location 2016-05-02 14:36:48 +02:00
Oliver Schneider
365644e9e6 doc markdown lint's span shows the line instead of the item 2016-05-02 14:36:33 +02:00
Manish Goregaokar
f6290b622c Merge branch 'pr-890' 2016-05-02 14:43:11 +05:30
Oliver Schneider
ee35c3722a similar_names should be allow-by-default 2016-05-02 10:53:09 +02:00
Oliver Schneider
10f468e679 don't lint similar_names inside #[test] functions 2016-05-02 10:52:55 +02:00
Manish Goregaokar
469b3d51b4 Merge pull request #889 from Manishearth/fix-887
fix #887: New lints for integer/floating-point arithmetic
2016-05-01 03:41:34 +05:30
Andre Bogus
0b40ae178a fixed tests, added clippy_restrictions lint group 2016-04-30 23:54:10 +02:00
Andre Bogus
a967440186 lint remainder, document test w/ half expr 2016-04-30 17:11:59 +02:00
Andre Bogus
9a99979cc4 fix #887: New lints for integer/floating-point arithmetic 2016-04-30 04:01:47 +02:00
llogiq
5150088216 Merge pull request #882 from Manishearth/rustup
Rustup to rustc 1.10.0-nightly (645dd013a 2016-04-24); release 0.0.64
2016-04-26 16:22:35 +02:00
mcarton
ffd9f5a3ac Update changelog 2016-04-26 15:08:09 +02:00
mcarton
0664394a49 Centralize more paths 2016-04-26 13:43:23 +02:00
mcarton
cf5c1ab0b6 Fix paths resolution
Put more paths into the `utils::paths` module.
2016-04-26 13:31:52 +02:00
Manish Goregaokar
08818de9b7
Rustup to rustc 1.10.0-nightly (645dd013a 2016-04-24); release 0.0.64 2016-04-26 02:10:48 +05:30
Martin Carton
c66e90303f Merge pull request #875 from Manishearth/fx-doc
Improve new_without_default docs
2016-04-24 13:48:53 +02:00
Manish Goregaokar
c3d75ad80d
Improve new_without_default docs 2016-04-24 17:15:54 +05:30
llogiq
865191026e Merge pull request #872 from oli-obk/cc_result
cc: early returns are special
2016-04-23 17:11:12 +02:00
Oliver 'ker' Schneider
bf4221c51a cc: early returns are special 2016-04-23 14:30:05 +02:00
llogiq
30f7651271 Merge pull request #867 from Manishearth/#830
Check type for `SINGLE_CHAR_PATTERN`
2016-04-23 10:54:22 +02:00
Manish Goregaokar
d7f7c9c460 Merge pull request #870 from Manishearth/fix-722
allow items_after_statements by default
2016-04-23 13:59:23 +05:30
Andre Bogus
e3d86800ff allow items_after_statements by default 2016-04-23 07:52:45 +02:00
Georg Brandl
efb5417439 Fix grammar. 2016-04-22 18:06:35 +02:00
Manish Goregaokar
a7661b6493 Merge pull request #868 from cramertj/master
Add lint for `mem::forget(_)`
2016-04-21 22:36:55 +05:30
Taylor Cramer
1e2cc78e08 Ran script to update README.md 2016-04-21 09:41:38 -07:00
Taylor Cramer
8866ba9e2a Fixed destructor detection in mem_forget 2016-04-21 09:36:39 -07:00
Taylor Cramer
77427b6ead Limited mem_forget error to only Drop types (fails) 2016-04-20 19:24:31 -07:00
Taylor Cramer
5158a08c5b Changed std::mem::forget errors to mem::forget 2016-04-20 18:55:41 -07:00
Taylor Cramer
12ae306630 Ticks around std::mem::forget 2016-04-20 13:33:05 -07:00
Taylor Cramer
7961f59303 Ran update_lints and updated CHANGELOG.md to reflect addition of mem_forget 2016-04-20 13:11:55 -07:00
Taylor Cramer
447940c889 Added lint for mem_forget 2016-04-20 13:10:23 -07:00
mcarton
de9a80cd10 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.
2016-04-20 21:16:59 +02:00
Martin Carton
0e16d9a425 Merge pull request #866 from cramertj/master
Add UNSAFE_REMOVED_FROM_NAME lint
2016-04-20 21:11:29 +02:00
Taylor Cramer
ed65b259ff Added unsafe_removed_from_name to new list in CHANGELOG.md 2016-04-20 09:27:12 -07:00
Taylor Cramer
84a480b02b Expanded tests for unsafe_removed_from_name 2016-04-19 21:52:10 -07:00
Taylor Cramer
4be11e9116 Removed unnecessary restriction of unsafe_removed_from_name to top-level use statements 2016-04-19 21:41:45 -07:00
Taylor Cramer
b793ad7f2f Ran update_lints script 2016-04-19 16:32:04 -07:00
Taylor Cramer
038f528f45 Added lint for use imports which remove unsafe from name 2016-04-19 16:31:26 -07:00
llogiq
0bc067089e add neg_multiply lint (#862)
add neg_multiply lint
2016-04-17 23:33:21 +02:00
Martin Carton
b433327311 Merge pull request #861 from birkenfeld/issue859
Make if_not_else lint Allow by default (fixes #859)
2016-04-17 13:03:31 +02:00
Georg Brandl
12b8a0ac14 Make if_not_else lint Allow by default (fixes #859) 2016-04-17 12:54:38 +02:00
Manish Goregaokar
63404ff4f2 Merge pull request #856 from Manishearth/stuffs
Various ~~small~~ stuffs
2016-04-15 05:47:27 +05:30
mcarton
72b747915c Fix .travis.yml again 2016-04-15 01:50:33 +02:00
mcarton
578cc3dc71 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
2016-04-15 00:10:17 +02:00
mcarton
d6073eb54e Fix regex tests 2016-04-14 22:07:14 +02:00
mcarton
a878916ad5 rustfmt all the things 2016-04-14 20:14:03 +02:00
mcarton
cd12a2369a s/paths::LL/paths::LINKED_LIST
All other paths had non-abbreviated names.
2016-04-14 18:41:38 +02:00
mcarton
48a672b4ee Move paths to their own module 2016-04-14 18:38:28 +02:00
mcarton
d81481bd0d Autogenerate CHANGELOG links to lints in wiki 2016-04-14 17:56:46 +02:00
mcarton
3511297330 Update changelog 2016-04-14 17:27:57 +02:00