Commit graph

2179 commits

Author SHA1 Message Date
Pascal Hertleif
c2baf5f2e3 Add EditorConfig 2016-07-15 13:08:21 +02:00
Pascal Hertleif
a4f070ba92 Add Level 'Deprecated' 2016-07-15 13:08:13 +02:00
Pascal Hertleif
8dad2ced7a HMTL Docs: Add Configuration, Fix Example Section 2016-07-15 13:08:04 +02:00
mcarton
b2637a6f78
Fix markdown in CHANGELOG 2016-07-15 12:32:21 +02:00
mcarton
557baf253a
Format code for methods lints 2016-07-14 22:56:20 +02:00
llogiq
b1becf41e4 Merge pull request #1099 from Manishearth/fix
Some small fixes
2016-07-14 21:32:45 +02:00
Pascal Hertleif
bbbd0a5475 Adjust HTML Docs
- Section IDs, with handy anchor links
- Multiple filters for levels
- Table rendering, block quote size
- Nicer loading (hide un-rendered content)
- Code highlighting (only for Rust, of course!)
- Fix parsing of descriptions that have a newline after the section
  title (lead to duplicating the title, e.g., "Examples", in the
  content)
2016-07-14 21:00:20 +02:00
mcarton
ea665c38f1
Fix FP with USELESS_VEC and non-copy types 2016-07-14 19:31:17 +02:00
mcarton
c1eb5828fa
Fix suggestion spans for NEEDLESS_RETURN 2016-07-14 18:32:48 +02:00
mcarton
3447bfccd9
Fix MANY_SINGLE_CHAR_NAMES's docs 2016-07-14 17:42:57 +02:00
Oliver Schneider
99b1ebbb33 Merge pull request #1096 from cramertj/1086-negative-zero
Fix #1086-Added sign check on Constant f64 PartialEq implementation
2016-07-14 13:13:11 +02:00
Taylor Cramer
7450d842ea Fix different NaNs in if const expressions test 2016-07-13 10:02:28 -07:00
Taylor Cramer
61d1a9b030 Check for comparison of -0.0 and 0.0 in PartialOrd for Constant 2016-07-13 09:55:16 -07:00
Taylor Cramer
0c21a6b0c4 Add test for different NaNs 2016-07-13 09:35:31 -07:00
Taylor Cramer
0dd13b0db2 Change floating point constant to mem::transmute u64 comparison 2016-07-13 00:59:35 -07:00
Taylor Cramer
8907cbc0b8 Added sign check on Constant f64 PartialEq implementation 2016-07-13 00:43:33 -07:00
Oliver Schneider
319c66a2a4
lint on implementing visit_string without also implementing visit_str 2016-07-12 17:36:11 +02:00
Martin Carton
f1a0ddf31b Merge pull request #1092 from Manishearth/fx
Remove unnecessary feature
2016-07-12 17:03:05 +02:00
Manish Goregaokar
e63b8342c3 Remove unnecessary feature 2016-07-12 20:21:45 +05:30
Pascal Hertleif
ba9eda7236 Add First Draft of Lint Listing Page 2016-07-12 16:31:13 +02:00
Martin Carton
aa75fda4c4 Merge pull request #1083 from Manishearth/allow-large-arrays
Don't warn when boxing large arrays r? @mcarton
2016-07-12 15:27:19 +02:00
Manish Goregaokar
c1421c6e82
Don't warn when boxing large arrays 2016-07-12 18:49:34 +05:30
Martin Carton
b14114f253 Merge pull request #1084 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09)  and bump to 0.0.79
2016-07-10 15:48:38 +02:00
mcarton
62ddefc783 Bump to 0.0.79 2016-07-10 15:43:06 +02:00
mcarton
3a201f43ec
Rustup to rustc 1.12.0-nightly (f93aaf84c 2016-07-09) 2016-07-10 15:42:02 +02:00
Manish Goregaokar
1f7d7d76e7 Merge pull request #1082 from Manishearth/small-fixes
Small fixes
2016-07-10 18:31:17 +05:30
mcarton
efaed2ecfe
Link to known issues for MATCH_SAME_ARMS 2016-07-10 14:53:42 +02:00
mcarton
b8b6b7fee6
Try to explain MATCH_SAME_ARMS better 2016-07-10 14:46:39 +02:00
mcarton
eb75d4ee62
Fix suggestions for NEW_WITHOUT_DEFAULT 2016-07-10 14:20:38 +02:00
mcarton
3a7402a6d2
Fix FP with for loops and shadowed loop variable 2016-07-10 14:05:57 +02:00
llogiq
ad1cd99054 Merge pull request #1060 from Manishearth/sugg
Improve suggestions
2016-07-10 00:06:30 +02:00
Martin Carton
208e2fcf9b Merge pull request #1080 from sourcefrog/patch-2
Fix Markdown syntax in description of collapsible_if
2016-07-09 21:24:33 +02:00
Martin Pool
585a3b2565 Fix Markdown syntax in description of collapsible_if 2016-07-09 12:20:54 -07:00
llogiq
65d27b49f5 Merge pull request #1074 from Manishearth/fix-doc
Handle `/**` and `~~~` in `DOC_MARKDOWN`
2016-07-09 01:40:28 +02:00
mcarton
56d3bc7008
Handle /** and ~~~ in DOC_MARKDOWN 2016-07-08 18:24:47 +02:00
Manish Goregaokar
3cd177d2db Merge pull request #1072 from dashed/patch-1
Add note on how to enable the optional dependency
2016-07-08 11:00:57 +05:30
Alberto Leal
b71b1a078c Add note on how to enable the optional dependency 2016-07-07 20:36:49 -04:00
llogiq
46d8f62835 Merge pull request #1071 from dtolnay/javascript
Add "JavaScript" to doc-valid-idents
2016-07-07 06:41:22 +02:00
David Tolnay
33c767c510
Add "JavaScript" to doc-valid-idents 2016-07-06 21:27:29 -07:00
mcarton
bf513229b1
Address PR's comments 2016-07-06 15:49:49 +02:00
mcarton
02547b9392
Merge remote-tracking branch 'origin/master' into sugg 2016-07-06 14:54:10 +02:00
mcarton
3bd0acaa5c
Remove useless feature attribute
`iter_arith` has been stabilized in rustc 1.11.0.
2016-07-06 14:51:20 +02:00
mcarton
ded5b30f23
Mention the major sugg. refactoring in CHANGELOG 2016-07-06 14:39:25 +02:00
mcarton
8aaaf198e3
Use utils::sugg in methods lints 2016-07-05 23:26:47 +02:00
llogiq
ecc75a8b32 Merge pull request #1069 from oli-obk/lets_assume_dependencies_already_lint_clippy_for_themselves
don't run clippy on dependencies when running cargo clippy
2016-07-04 16:08:17 +02:00
Oliver Schneider
871f8dcab3
don't run clippy on dependencies when running cargo clippy 2016-07-04 13:33:48 +02:00
mcarton
c5e91e70d0
Use sugg::Sugg in transmute links 2016-07-04 02:22:57 +02:00
mcarton
9b79b1022c
Fix suggestions for needless_bool 2016-07-04 01:43:47 +02:00
mcarton
7778f314f2
Merge branch 'master' into sugg 2016-07-04 00:51:19 +02:00
mcarton
2f259b8cd3
Use span_suggestion in entry lints 2016-07-03 23:27:44 +02:00