Michael Wright
|
efdc739dfc
|
Move unnecessary_filter_map to a submodule
|
2018-09-29 14:12:40 +02:00 |
|
Michael Wright
|
f5ffac4fce
|
Implement unnecesary_filter_map lint
|
2018-09-26 06:52:36 +02:00 |
|
Jane Lusby
|
14feb3670f
|
Lint for chaining flatten after map
This change adds a lint to check for instances of `map(..).flatten()`
that can be trivially shortened to `flat_map(..)`
Closes #3196
|
2018-09-24 14:29:16 -07:00 |
|
Michael Wright
|
ab71f08663
|
Fix single_char_pattern crash (#3204)
This commit fixes the crash by removing constant checking from the lint.
Closes #3204.
|
2018-09-24 08:33:57 +02:00 |
|
Vitaly _Vi Shukela
|
58729346be
|
Fill in Applicability from review comments by @flip1995
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
3eccccb367
|
Fix indents
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
92034e20c8
|
Use span_suggestion_with_applicability instead of span_suggestion
|
2018-09-20 14:38:47 +02:00 |
|
Eduard-Mihai Burtescu
|
9219fc6c5c
|
Reintroduce extern crate for non-Cargo dependencies.
|
2018-09-15 11:10:51 +03:00 |
|
Boyu Yang
|
4827ab978e
|
Remove a wrong suggestion.
|
2018-09-13 13:01:23 +08:00 |
|
Boyu Yang
|
60e8da1647
|
Fix typo in examples.
|
2018-09-13 11:51:58 +08:00 |
|
flip1995
|
f3bb161f0e
|
Adapt codebase to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
flip1995
|
8c07772dbb
|
Switch to declare_tool_lint macro
|
2018-08-29 11:08:29 -07:00 |
|
Oliver Schneider
|
d99cea0f16
|
Update imports and rustup
|
2018-08-28 13:13:42 +02:00 |
|
Matthias Krüger
|
712d2d4fa1
|
rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581
|
2018-08-22 23:34:52 +02:00 |
|
Manish Goregaokar
|
76321d3300
|
codemap -> source_map
https://github.com/rust-lang/rust/pull/52953
|
2018-08-19 19:06:54 -07:00 |
|
Matthias Krüger
|
88d693918f
|
docs: add more suggestions on how to fix clippy findings to the online lint list.
|
2018-08-12 11:29:44 +02:00 |
|
Oliver Schneider
|
d722489e71
|
Merge pull request #2823 from flip1995/thingies_things
Replace cfg_attr(rustfmt... with rustfmt::skip
|
2018-08-08 13:14:20 +02:00 |
|
Philipp Hansch
|
f6c4e303c9
|
Merge pull request #2999 from flip1995/single_char_pattern
Fix single_char_pattern lint for escaped chars
|
2018-08-06 07:05:04 +01:00 |
|
Philipp Hansch
|
a016d4efe0
|
Merge pull request #2991 from mikerite/issue2979
Fix #2979
|
2018-08-05 20:35:55 +01:00 |
|
flip1995
|
55672e7e49
|
Fix single_char_pattern lint for escaped chars
|
2018-08-03 10:19:29 +02:00 |
|
flip1995
|
12f2d61fa9
|
Replace cfg_attr(rustfmt... thingies
|
2018-08-02 23:04:20 +02:00 |
|
reujab
|
1afb7e895b
|
removed colon
|
2018-08-02 11:52:46 -04:00 |
|
Michael Wright
|
534d546c81
|
Fix #2979
|
2018-08-02 08:56:53 +02:00 |
|
Andrew Audibert
|
3851c0e22b
|
Address build warning
|
2018-07-31 23:53:45 -07:00 |
|
flip1995
|
74fcf7de4a
|
single_char_pattern: lint only on the argument span
|
2018-07-31 12:20:32 +02:00 |
|
Dale Wijnand
|
a1cce2d06a
|
Inline utils::in_external_macro
|
2018-07-24 10:38:58 +01:00 |
|
Oliver Schneider
|
afd91248ed
|
Rustup
|
2018-07-23 13:01:12 +02:00 |
|
Manish Goregaokar
|
5918a3fc1e
|
Remove import of if_chain
|
2018-07-20 00:50:02 -07:00 |
|
Manish Goregaokar
|
c7676356b8
|
Remove import of matches
|
2018-07-19 01:06:02 -07:00 |
|
Manish Goregaokar
|
5d74e2096b
|
Remove import of rustc
|
2018-07-19 00:53:23 -07:00 |
|
Oliver Schneider
|
6992937002
|
Update for hir renamings in rustc
|
2018-07-16 15:07:39 +02:00 |
|
csmoe
|
8cf463fe93
|
StmtKind
|
2018-07-16 11:48:33 +02:00 |
|
csmoe
|
12ded030b6
|
TyKind
|
2018-07-16 11:48:33 +02:00 |
|
csmoe
|
5d4102ee78
|
BinOpKind
|
2018-07-16 11:46:37 +02:00 |
|
csmoe
|
1bd17e4fa2
|
ExprKind
|
2018-07-16 11:46:37 +02:00 |
|
Oliver Schneider
|
1e9f076254
|
Ignore spans when comparing expressions
|
2018-07-15 00:00:27 +02:00 |
|
Oliver Schneider
|
141f79f844
|
Rustup
|
2018-07-02 19:07:12 +02:00 |
|
Mateusz Mikuła
|
48cb6e273e
|
Rustup
|
2018-06-29 09:49:05 +02:00 |
|
flip1995
|
c83fd39e0e
|
Resolve conflicts produced by GenericArgs
Addresses the move/zip of Lifetimes and Types vectors from hir::PathParameters into the args vector of GenericArgs
|
2018-06-25 12:31:39 +02:00 |
|
flip1995
|
d9a80d2f84
|
Resolve field, struct and function renaming
Addresses the errors produced by (re)moving, merging or renaming
structs, fields and methods by rust-lang/rust#48149 and rust-lang/rust#51580
|
2018-06-25 12:25:20 +02:00 |
|
Wim Looman
|
621fdcc3bc
|
Dogfood new trivially_copy_pass_by_ref lint
|
2018-06-15 16:53:34 +02:00 |
|
Donald Robertson
|
c6fb47331a
|
Updating docs to reflect more recent changes to expect_fun_call lint
|
2018-06-11 14:17:40 +01:00 |
|
Donald Robertson
|
e70632215e
|
Combining if statements per lint warnings on build
|
2018-06-06 20:38:13 +01:00 |
|
Donald Robertson
|
9c73f7ff18
|
Amending use of Some with discarded value to use is_some
|
2018-06-06 17:13:31 +01:00 |
|
Donald Robertson
|
e67d2b2663
|
Added check to ensure format macro only being handled, refactored extraction and checks to smaller functions.
|
2018-06-06 16:53:11 +01:00 |
|
Donald Robertson
|
451fd5feb9
|
Extracting arguments to format to pass directly to panic when appropriate
|
2018-06-05 21:15:08 +01:00 |
|
Donald Robertson
|
32404741c6
|
Replacing match block with if block as conditional was boolean
|
2018-06-04 19:43:03 +01:00 |
|
Donald Robertson
|
1ead12c500
|
Adding handling and tests for custom type with implemented expect method
|
2018-06-04 19:43:03 +01:00 |
|
Donald Robertson
|
fe8c9d5965
|
Ensuring correct lint message is output for Option and Result type
|
2018-06-04 19:43:03 +01:00 |
|
Donald Robertson
|
2b36017bad
|
Removing unnecessary allow
|
2018-06-04 19:43:03 +01:00 |
|