mcarton
|
cc18556ae5
|
Use utils::sugg in swap lints
|
2016-07-02 17:31:22 +02:00 |
|
mcarton
|
139b977d9d
|
Cleanup
|
2016-07-01 21:01:56 +02:00 |
|
mcarton
|
2a45a2ab6b
|
Use utils::sugg in FOR_KV_MAP
|
2016-07-01 20:55:45 +02:00 |
|
mcarton
|
f6c9490e65
|
Fix wrong suggestion with ... and for loops
|
2016-07-01 19:31:14 +02:00 |
|
mcarton
|
dbf6dc66d8
|
Add more sugggestion-building functions
|
2016-07-01 19:30:38 +02:00 |
|
mcarton
|
9bd7fa05e0
|
Improve NEEDLESS_RANGE_LOOP error reporting
|
2016-07-01 18:53:04 +02:00 |
|
mcarton
|
e613c8b492
|
Introduce multispan_sugg
|
2016-07-01 18:43:42 +02:00 |
|
mcarton
|
97f65b0296
|
Rustup to ea0dc92972 III
|
2016-07-01 17:49:18 +02:00 |
|
mcarton
|
d6182b365c
|
Merge remote-tracking branch 'origin/rustup' into sugg
|
2016-07-01 17:48:57 +02:00 |
|
mcarton
|
55b78ae478
|
Rustup to ea0dc92972 II
|
2016-07-01 17:44:17 +02:00 |
|
mcarton
|
3c4af49662
|
Rustup to ea0dc92972
|
2016-07-01 17:44:17 +02:00 |
|
mcarton
|
28bd591f05
|
Only build suggestion if necessary in USELESS_VEC
|
2016-07-01 17:12:49 +02:00 |
|
mcarton
|
98f18f0474
|
Move vec! unexpanding function to utils::higher
|
2016-07-01 17:12:49 +02:00 |
|
mcarton
|
4dff4df577
|
Move more functions to utils::higher
|
2016-07-01 17:12:49 +02:00 |
|
mcarton
|
92b04129fe
|
Move unsugar_range to utils::higher
|
2016-07-01 17:12:49 +02:00 |
|
mcarton
|
ebf72cb67f
|
Use util::sugg in TRANSMUTE_PTR_TO_REF
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
169b63a84a
|
Improve TOPLEVEL_REF_ARG message
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
7023988020
|
Use utils::sugg in TOPLEVEL_REF_ARG
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
a3c505551f
|
Cleanup
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
7a1fc9fce5
|
Use utils::sugg in MATCH_BOOL
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
66808c1e77
|
Use utils::sugg in COLLAPSIBLE_IF
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
2e8edde6e9
|
Use utils::sugg in FLOAT_CMP
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
8d58a928e5
|
Use utils::sugg in ASSIGN_OPS
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
9811dea237
|
Add a module to pretty-print suggestions
|
2016-07-01 17:12:48 +02:00 |
|
mcarton
|
580ae5a879
|
Use span_suggestion in FLOAT_CMP
|
2016-07-01 17:12:48 +02:00 |
|
Andre Bogus
|
b73180231a
|
fixed doc nit
|
2016-06-30 06:33:21 +02:00 |
|
Andre Bogus
|
a12e8394d7
|
new lint: double_neg
|
2016-06-30 01:00:25 +02:00 |
|
mcarton
|
ea76ac5562
|
Make COLLAPSIBLE_IF consider if let
|
2016-06-29 17:09:39 +02:00 |
|
mcarton
|
f6ba217c1c
|
Small cleanup
|
2016-06-29 17:09:39 +02:00 |
|
mcarton
|
f37c9adbd9
|
Make CollapsibleIf an EarlyLintPass
It doesn't need any `hir` feature and `ast` is much more stable.
|
2016-06-29 17:09:39 +02:00 |
|
mcarton
|
7fa38f6787
|
Fix FP with mut_mut and for loops
|
2016-06-29 17:09:39 +02:00 |
|
Oliver Schneider
|
9ceb708727
|
Merge pull request #1053 from oli-obk/char_float_transmute
lint on unnecessary and plain wrong transmutes
|
2016-06-28 14:50:39 +02:00 |
|
Oliver Schneider
|
e06bc37477
|
lint on unnecessary and plain wrong transmutes
|
2016-06-28 14:08:08 +02:00 |
|
Manish Goregaokar
|
cdce78a4be
|
Add parentheses when necessary in transmute suggestion (fixes #1049)
|
2016-06-28 14:03:46 +05:30 |
|
llogiq
|
5aea20da7f
|
Merge pull request #1046 from oli-obk/unify_span_lint_usage
use span_lint_and_then instead of adding to the `DiagnosticWrapper`
|
2016-06-27 17:20:03 +02:00 |
|
Oliver Schneider
|
799861d7e0
|
use span_lint_and_then instead of adding to the DiagnosticWrapper
|
2016-06-27 17:14:04 +02:00 |
|
Oliver Schneider
|
a469ee1061
|
lint transmuting references to pointers
|
2016-06-27 16:12:48 +02:00 |
|
Oliver Schneider
|
083c57867a
|
refactor transmute lints into a single match
|
2016-06-27 13:46:21 +02:00 |
|
Oliver 'ker' Schneider
|
8c5e617c9a
|
don't lint on comparing *const f32 s
|
2016-06-25 18:59:37 +02:00 |
|
llogiq
|
f81d253c07
|
Merge pull request #995 from oli-obk/oh_the_horror
lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`
|
2016-06-22 13:06:12 +02:00 |
|
Oliver Schneider
|
262148c946
|
update lint doc text
|
2016-06-22 13:03:59 +02:00 |
|
Oliver Schneider
|
5ccbf3d437
|
unify the lints
|
2016-06-22 10:44:46 +02:00 |
|
Martin Carton
|
294aeaf4b3
|
Merge pull request #1012 from Manishearth/nohyg
Don't use identifier hygiene in HIR
|
2016-06-21 21:23:39 +02:00 |
|
mcarton
|
92c02bd4af
|
Bump to 0.0.77
|
2016-06-21 16:36:44 +02:00 |
|
Oliver Schneider
|
415ddfb630
|
lint message nits
|
2016-06-21 14:41:16 +02:00 |
|
Oliver Schneider
|
8bfb31ee97
|
doc nits
|
2016-06-21 14:39:56 +02:00 |
|
Oliver Schneider
|
f5dfcd694b
|
fallout2
|
2016-06-21 13:51:44 +02:00 |
|
Oliver Schneider
|
48a5f8446d
|
fallout
|
2016-06-21 13:49:08 +02:00 |
|
Oliver Schneider
|
77e2155778
|
update lints
|
2016-06-21 13:32:34 +02:00 |
|
Oliver Schneider
|
4e52852146
|
create a lint for each of the messages
|
2016-06-21 13:04:50 +02:00 |
|