Phil Ellison
|
a64d19cc0e
|
Fix error span to play nicely with rustfix
|
2018-01-16 21:20:55 +00:00 |
|
Oliver Schneider
|
d011dae96d
|
Rustup
|
2018-01-15 12:08:17 +01:00 |
|
Phil Ellison
|
70a5535ffa
|
Address some review comments
|
2018-01-14 18:18:09 +00:00 |
|
Phil Ellison
|
528be23c07
|
Move get_arg_name into utils
|
2018-01-14 10:05:01 +00:00 |
|
Trevor Spiteri
|
a5d0569a20
|
Add "NaNs" and "GitLab" to doc-valid-idents
|
2018-01-02 13:51:35 +01:00 |
|
Oliver Schneider
|
8ddcb81a15
|
Rustup and lazy_static version mismatch fix
fixes #2274
|
2017-12-15 10:05:32 +01:00 |
|
Frederick Zhang
|
e91b01348e
|
fix usage of LayoutDetails
|
2017-11-21 16:51:36 +11:00 |
|
Johannes Hofmann
|
3efa07f959
|
Ignore identifier 'OpenStreetMap' for DOC_MARKDOWN lint
|
2017-11-18 19:13:07 +01:00 |
|
Oliver Schneider
|
c6a4eaeb0d
|
Rustup
|
2017-11-15 08:38:43 +01:00 |
|
Oliver Schneider
|
299f1270a6
|
Rustup
|
2017-11-10 08:58:54 +01:00 |
|
Oliver Schneider
|
ed589761e6
|
Merge pull request #2202 from topecongiro/format
Run `cargo fmt`
|
2017-11-06 08:35:52 +01:00 |
|
Matt Kraai
|
b778659c42
|
Fix compilation errors with rustc 1.23.0-nightly (d762b1d6c 2017-11-04)
Fixes #2204
|
2017-11-05 04:19:11 -08:00 |
|
topecongiro
|
7a06d312fd
|
Cargo fmt
|
2017-11-05 04:55:56 +09:00 |
|
sinkuu
|
c102d50ece
|
&Self
|
2017-11-03 17:56:17 +09:00 |
|
sinkuu
|
be7c4b4862
|
Fix test
|
2017-11-03 17:36:38 +09:00 |
|
kennytm
|
44d3ea5308
|
Fix lint_without_lint_pass
|
2017-10-31 10:04:02 -07:00 |
|
Manish Goregaokar
|
f76225e388
|
Handle TyForeign
|
2017-10-29 05:21:25 -04:00 |
|
Alex Burka
|
24a2c14733
|
remove if_let_chain
|
2017-10-23 17:53:30 -04:00 |
|
Alex Burka
|
2153d1e560
|
manual fixups if_let_chain -> if_chain
|
2017-10-23 17:53:30 -04:00 |
|
Alex Burka
|
41840ae3c4
|
mechanically swap if_let_chain -> if_chain
|
2017-10-23 15:18:02 -04:00 |
|
HMPerson1
|
e5076d06db
|
Add lint for From<String>
|
2017-10-20 20:47:30 -04:00 |
|
Paul Florence
|
406931381b
|
Fixed some code in clippy to pass the new, removed formatting changes.
|
2017-10-20 10:17:41 -04:00 |
|
Oliver Schneider
|
343e438f9d
|
Merge pull request #2120 from sinkuu/implicit_hasher
Implicit hasher lint
|
2017-10-17 15:24:20 +02:00 |
|
sinkuu
|
c3332ca92e
|
Fix panic with fake Range type
|
2017-10-13 21:51:57 +09:00 |
|
sinkuu
|
5a61d88fa1
|
Apply suggestions
|
2017-10-11 22:17:00 +09:00 |
|
Oliver Schneider
|
73a1dd8e7f
|
Merge pull request #2117 from sinkuu/improve_take_by_value
Improve needless_pass_by_value
|
2017-10-08 20:14:55 +02:00 |
|
sinkuu
|
2be6245179
|
Duplicate ptr_arg's suggestion logic
|
2017-10-08 17:51:44 +09:00 |
|
Chris Emerson
|
fcdce8fc1d
|
Merge branch 'master' into no_effect_with_drop
|
2017-10-07 23:24:36 +01:00 |
|
sinkuu
|
771d2220d2
|
Add identity_conversion lint (fixes #1051)
|
2017-10-04 22:16:16 +09:00 |
|
Laura Peskin
|
8e6abc6fd7
|
alphabetize paths to pass dogfood
|
2017-09-29 21:48:10 -04:00 |
|
Laura Peskin
|
f3e51d8d65
|
add lint for creation of invalid references
|
2017-09-29 21:01:10 -04:00 |
|
Oliver Schneider
|
bc76f397c6
|
Merge pull request #2084 from ykrivopalov/bit_mask_verbosity_threshold
Configuration option for VERBOSE_BIT_MASK threshold
|
2017-09-29 08:49:27 +02:00 |
|
Manish Goregaokar
|
201b5c2f24
|
Use ..= in the suggestion
|
2017-09-28 10:40:36 -07:00 |
|
Manish Goregaokar
|
0ca166277c
|
Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
|
2017-09-28 07:11:34 -07:00 |
|
Yury Krivopalov
|
5c56c924fc
|
Clarify verbose_bit_mask_threshold description
|
2017-09-27 10:31:39 +03:00 |
|
Manish Goregaokar
|
fabb6b6645
|
Rustup to rustc 1.22.0-nightly (6c476ce46 2017-09-25)
|
2017-09-25 19:52:29 -07:00 |
|
Yury Krivopalov
|
a3ad409341
|
Configuration option for VERBOSE_BIT_MASK threshold
By default is 1. u64, because I didn't figure out how to deserialize
u128 option from config.
|
2017-09-25 23:38:49 +03:00 |
|
Andre Bogus
|
1e0268fda8
|
avoid linting ptr_arg if .capacity() is called. Also suggest removing .as_str() where applicable.
THis fixes #2070.
Also fixes a few formatting mishaps
|
2017-09-20 23:59:23 +02:00 |
|
Chris Emerson
|
9a0a8a0010
|
Move has_drop to the utils module.
|
2017-09-19 21:38:35 +01:00 |
|
Martin Carton
|
0b64222a68
|
Fix case in doc_valid_idents
BibTeX and BibLaTeX use the usual capitalization of TeX tools:
- https://www.ctan.org/pkg/bibtex
- https://www.ctan.org/pkg/biblatex
|
2017-09-18 22:40:00 +02:00 |
|
Luca Bruno
|
62ae6d2251
|
lints/doc_markdown: add two more entries
|
2017-09-18 14:44:28 +00:00 |
|
Andre Bogus
|
72be166756
|
add suggestions for .clone() in ptr_arg fns
|
2017-09-16 09:10:26 +02:00 |
|
Oliver Schneider
|
32a9394490
|
Rustup
|
2017-09-13 15:34:04 +02:00 |
|
Oliver Schneider
|
b127ad251f
|
Rustup
|
2017-09-12 14:38:59 +02:00 |
|
Andre Bogus
|
e7e8e79020
|
suggestion for ptr_arg
|
2017-09-10 19:32:24 +02:00 |
|
Aaron Hill
|
d318ced660
|
Add CLONE_ON_REF_PTR lint
Closes issue #1645
|
2017-09-09 21:52:19 -04:00 |
|
Oliver Schneider
|
edcf6e7e80
|
Use hir_id instead of fetching hir_id via the NodeId
|
2017-09-09 14:06:41 +02:00 |
|
Aaron Hill
|
8adc42b5b4
|
Update for latest Rust
This is mainly due to https://github.com/rust-lang/rust/commit/dead08cb33134
|
2017-09-09 01:23:08 -04:00 |
|
Oliver Schneider
|
e4524ac4de
|
Run nightly rustfmt
|
2017-09-05 12:39:27 +02:00 |
|
M. Hasbini
|
ee8c51be00
|
Fix "further information" link
"further information" link was missing the `v` part from the url.
e.g.
wrong (404 notfound): https://rust-lang-nursery.github.io/rust-clippy/0.0.157/index.html#map_entry
correct: https://rust-lang-nursery.github.io/rust-clippy/v0.0.157/index.html#map_entry
|
2017-09-04 20:03:51 +03:00 |
|
Manish Goregaokar
|
2544458559
|
Run rustfmt
|
2017-09-03 14:15:18 -07:00 |
|
Oliver Schneider
|
045139613a
|
Link to current versions docs instead of master docs
|
2017-09-01 12:34:10 +02:00 |
|
Oliver Schneider
|
ff91c6359a
|
wiki -> docs
|
2017-09-01 12:34:10 +02:00 |
|
Oliver Schneider
|
c64073b2f5
|
Deprecate the wiki and remove the lint list from the README (fixes #1933)
|
2017-09-01 12:34:05 +02:00 |
|
Oliver Schneider
|
a8cf4e8ecb
|
Accessing Span internals is deprecated
|
2017-08-31 14:47:45 +02:00 |
|
Oliver Schneider
|
9d6c0feef2
|
Rustup (fixes #2002)
|
2017-08-30 10:54:41 +02:00 |
|
Andre Bogus
|
df903edddd
|
New lint: (maybe_)infinite_iter
This fixes #1870 (mostly, does not account for loops yet)
|
2017-08-25 22:20:52 +02:00 |
|
Martin Carton
|
5cf3f8359f
|
Merge pull request #1989 from Frederick888/fix-1988
Try to fix #1988
|
2017-08-25 12:39:53 +02:00 |
|
Frederick Zhang
|
70c8fe5539
|
fix PathParameters usage
|
2017-08-25 19:38:28 +10:00 |
|
Alexey Zabelin
|
695bedbe27
|
Rename match_path_old to match_path
The old `match_path` was renamed to `match_qpath`.
As per #1983.
|
2017-08-24 20:42:50 -04:00 |
|
Oliver Schneider
|
ab362031ed
|
Merge pull request #1959 from DarkEld3r/1884-borrowed-box-any
Fix borrowed_box lint for Box<Any>
|
2017-08-24 23:59:15 +02:00 |
|
Andre Bogus
|
6d989c729d
|
add closure arg check, also catch non-consts
|
2017-08-23 17:54:35 +02:00 |
|
Stanislav Tkach
|
45ff467c31
|
Fix borrowed_box lint for Box<Any>
|
2017-08-23 17:00:39 +03:00 |
|
Andre Bogus
|
70e34077d5
|
new lint: naive_bytecount
|
2017-08-22 23:45:08 +02:00 |
|
Oliver Schneider
|
2430e06a60
|
Run Dogfood for use_self
|
2017-08-21 13:32:12 +02:00 |
|
Oliver Schneider
|
b005748b85
|
Merge pull request #1971 from Frederick888/fix-1970
Try to fix #1970
|
2017-08-21 09:35:59 +02:00 |
|
Oliver Schneider
|
5e5478a3c3
|
Merge pull request #1931 from rust-lang-nursery/move_links
Change all links to reflect the move to rust-lang-nursery
|
2017-08-21 09:35:19 +02:00 |
|
Frederick Zhang
|
f770d15350
|
use CompilerDesugaringKind
|
2017-08-19 18:03:29 +10:00 |
|
Joonas Koivunen
|
a5147e8a08
|
is_from_for_loop: document what first check matches
Removing the first check will break a lot of for-loop UI tests and the
dogfood test.
|
2017-08-18 17:12:00 +03:00 |
|
Joonas Koivunen
|
cf8e95eb22
|
is_from_for_desugar: add match for for _ in x
This will avoid `let_unit_value` in the examples in the ui-test.
It might match too widely.
|
2017-08-18 17:07:39 +03:00 |
|
Oliver Schneider
|
f3ae929b2d
|
Rustup
|
2017-08-15 11:10:49 +02:00 |
|
Oliver Schneider
|
4470d7a8ca
|
Merge branch 'master' into move_links
|
2017-08-14 10:07:26 +02:00 |
|
Oliver Schneider
|
459cf467c5
|
Rustup
|
2017-08-14 09:54:47 +02:00 |
|
Oliver Schneider
|
b25b6b3355
|
Rustfmt
|
2017-08-14 09:43:26 +02:00 |
|
Andre Bogus
|
f515d7bb67
|
Change all links to reflect the move to rust-lang-nursery
|
2017-08-06 23:10:55 +02:00 |
|
Oliver Schneider
|
3a61b452a2
|
Create a lint authoring helper (generates matching code)
|
2017-08-01 12:55:52 +02:00 |
|
Matt Kraai
|
de3bdf5826
|
Set show_code_when_inline to true
Fixes #1902
|
2017-07-24 06:37:12 -07:00 |
|
Matt Kraai
|
7131fdad38
|
Use token_to_string instead of binop_to_string
Fixes #1887
|
2017-07-13 08:27:57 -07:00 |
|
Oliver Schneider
|
e80d883bf1
|
Run rustfmt
|
2017-07-10 10:21:21 +02:00 |
|
Oliver Schneider
|
a82cd77b2b
|
Rustup to *rustc 1.20.0-nightly (d84693b93 2017-07-09)*
|
2017-07-10 10:17:40 +02:00 |
|
Oliver Schneider
|
23b4ad501f
|
Run rustfmt
|
2017-06-29 16:07:43 +02:00 |
|
messense
|
8ac0388307
|
Fix compilation on rustc 1.20.0-nightly (69c65d296 2017-06-28)
|
2017-06-29 21:38:25 +08:00 |
|
Oliver Schneider
|
d0650ae144
|
Update for latest master
|
2017-06-28 11:02:27 +02:00 |
|
messense
|
16a958b103
|
rustup to rustc 1.19.0-nightly (258ae6dd9 2017-06-15)
|
2017-06-16 11:57:44 +08:00 |
|
Manish Goregaokar
|
55cb63adfe
|
Bump to 0.0.139
|
2017-06-10 22:07:09 -07:00 |
|
Eduard-Mihai Burtescu
|
e073dfe9a2
|
Abide by the common rustc::ty conventions.
|
2017-06-11 05:57:25 +03:00 |
|
Eduard-Mihai Burtescu
|
cd89737b21
|
Update for rustc 1.19.0-nightly (4bf5c99af 2017-06-10).
|
2017-06-11 05:34:47 +03:00 |
|
Anders Kaseorg
|
00b43687e5
|
Pass extra parameter to CrateStore::item_children for rustc nightly
rust-lang/rust#42507
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2017-06-10 01:41:17 -04:00 |
|
mcarton
|
bb0b597f05
|
Check for for loop desugaring in highering
|
2017-06-08 20:17:10 +02:00 |
|
Andre Bogus
|
8122d3e8cb
|
Check for AsRef/AsMut arguments in wrong_self_convention
This fixes #451
|
2017-06-06 19:26:50 +02:00 |
|
mcarton
|
01cae3fd6d
|
Rustup to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)*
|
2017-06-05 21:49:26 +02:00 |
|
Eduard-Mihai Burtescu
|
010974fafe
|
Finish rustup.
|
2017-06-05 00:28:01 +03:00 |
|
mcarton
|
edef6c53c0
|
Continue work on rustup
|
2017-06-04 20:42:13 +02:00 |
|
messense
|
67cccc5c16
|
Try to fix compilation error on rustc 1.19.0-nightly (4ed2edaaf 2017-06-01)
|
2017-06-02 12:13:04 +08:00 |
|
Manish Goregaokar
|
8d3c48601d
|
Rustup to rustc 1.19.0-nightly (557967766 2017-05-26)
|
2017-05-26 22:25:58 -07:00 |
|
Georg Brandl
|
06472ca651
|
Update to fix array_indexing failures: RangeInclusive::NonEmpty is gone
|
2017-05-26 16:54:07 +02:00 |
|
Oliver Schneider
|
ff873cc900
|
Rustup to rustc 1.19.0-nightly (5b13bff52 2017-05-23)
|
2017-05-24 14:19:30 +02:00 |
|
messense
|
30b94b0fb0
|
Fix build failure on rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)
|
2017-05-19 16:54:02 +08:00 |
|
Oliver Schneider
|
4d5e25f31d
|
Update to rustc 1.19.0-nightly (826d8f385 2017-05-13)
fixes #1759, #1758
|
2017-05-14 09:56:10 +02:00 |
|
Oliver Schneider
|
dfc7d2afd4
|
Run rustfmt
|
2017-05-12 12:09:52 +02:00 |
|