Commit graph

2177 commits

Author SHA1 Message Date
llogiq
e0ab332303 Merge pull request #1409 from Manishearth/fx-new-default
Fix suggestion span on new_without_default (fixes #1407)
2016-12-29 20:34:33 +01:00
Manish Goregaokar
b8b54eb0d8 Fix suggestion span on new_without_default (fixes #1407) 2016-12-29 11:19:32 -08:00
Manish Goregaokar
5d78485a81 Merge pull request #1406 from theemathas/double-parens
Add double_parens lint
2016-12-28 12:32:04 -08:00
Theemathas Chirananthavat
7034d169e5 Update lint documentation using util/update_lints.py 2016-12-28 12:06:43 -08:00
Theemathas Chirananthavat
c0c20145d1 Fix compile-fail tests by allowing double_parens. 2016-12-28 12:04:46 -08:00
Theemathas Chirananthavat
e1c540bfd1 Implement the double_parens lint. 2016-12-28 12:03:49 -08:00
Theemathas Chirananthavat
d76fa3dfd9 Add skeleton for double_parens lint. 2016-12-28 11:21:53 -08:00
Theemathas Chirananthavat
e7352877c5 Add test for double_parens lint. 2016-12-28 11:21:53 -08:00
Martin Carton
96d2483b09 Merge pull request #1400 from oli-obk/needed_needless_lifetime
support impl trait for needless lifetimes
2016-12-25 18:24:39 +01:00
Oliver Schneider
ba59ba3afc fix rustfmt 2016-12-25 17:49:39 +01:00
Martin Carton
7c480d0db7 Merge pull request #1394 from Manishearth/absurd_extreme_comparisons_false_positive
fix absurd extreme comparisons false positive
2016-12-25 17:47:42 +01:00
Manish Goregaokar
b729b3b8e2 Merge pull request #1399 from Manishearth/the_ice_was_a_lie
fix an ice related to associated types
2016-12-22 07:38:31 -08:00
Oliver Schneider
93333f0d7b
support impl trait for needless lifetimes 2016-12-22 15:51:59 +01:00
Oliver Schneider
2f219b827e
fix an ice related to associated types
fixes #1341
2016-12-22 14:16:07 +01:00
Oliver Schneider
0b10a41ef3
fix absurd extreme comparisons false positive
fixes #1387
2016-12-21 16:49:53 +01:00
Oliver Schneider
cb861a1bd1 Merge pull request #1374 from Nemo157/allow_deprecated
Allow `allow(deprecated)` attribute on `use` items
2016-12-21 15:50:32 +01:00
Oliver Schneider
7a1d85f1de Merge branch 'master' into allow_deprecated 2016-12-21 15:47:12 +01:00
Oliver Schneider
ad4df726fd Merge pull request #1393 from oli-obk/linkedlists
Don’t warn for types used in trait implementation
2016-12-21 15:46:00 +01:00
Oliver Schneider
00a3bfb8eb
Don’t warn for types used in trait implementation 2016-12-21 15:42:20 +01:00
Oliver Schneider
5060d2fa7c Merge pull request #1206 from Manishearth/pub_enum_variant_names
split pub_enum_variant_names to new lint
2016-12-21 13:37:27 +01:00
Oliver Schneider
90fc9c389f
split pub_enum_variant_names to new lint 2016-12-21 13:30:57 +01:00
Oliver Schneider
647b30884d Merge pull request #1392 from oli-obk/rustfmt
also run rustfmt on clippy-lints
2016-12-21 13:26:39 +01:00
Oliver Schneider
55c0c9da8d
fix travis 2016-12-21 13:21:35 +01:00
Oliver Schneider
6d3841e69d
every line needs to be its own string 2016-12-21 13:12:17 +01:00
Oliver Schneider
49e3419b87
shorten deprecated lints line length 2016-12-21 12:50:39 +01:00
Oliver Schneider
53fc09ec46
autogenerated functions are ignored by rustfmt 2016-12-21 12:40:56 +01:00
Oliver Schneider
0553de8573
run rustfmt on clippy, not only on clippy_lints 2016-12-21 12:36:25 +01:00
Oliver Schneider
009c6d95d7
manually fix the overlong lines 2016-12-21 12:30:41 +01:00
Oliver Schneider
47eead5ada
function definition style simplification 2016-12-21 12:14:54 +01:00
Oliver Schneider
ed9d71f2c9
remove nondeterminism by adjusting thresholds 2016-12-21 10:25:14 +01:00
Oliver Schneider
299d7be132
rustfmt fallout in doc comments 2016-12-21 10:00:13 +01:00
Oliver Schneider
44533f09aa
rustfmt round n 2016-12-21 09:45:24 +01:00
Oliver Schneider
4a4e1ea2c5
also run rustfmt on clippy-lints 2016-12-20 18:21:30 +01:00
Manish Goregaokar
a248e506f1 Merge pull request #1259 from Manishearth/rustfmt
Run rustfmt
2016-12-20 06:42:21 -08:00
Oliver Schneider
4d0864b277
rustfmt is installed into the cargo bin dir 2016-12-20 12:21:52 +01:00
Oliver Schneider
8798210fc6
fix subsequent travis runs 2016-12-20 10:43:59 +01:00
Oliver Schneider
ad0b09e84c
enforce rustfmt on travis 2016-12-20 10:42:22 +01:00
Oliver Schneider
85783f501d
remove needless rustfmt setting 2016-12-20 10:22:59 +01:00
Oliver Schneider
0a7ae5fec8
run rustfmt 2016-12-20 10:20:41 +01:00
mcarton
7dd3679ac3
Fix a couple warnings 2016-12-19 20:31:39 +01:00
Manish Goregaokar
cc8c1c0814 Merge pull request #1345 from EpocSquadron/epocsquadron-documentation
Clarify recco to install as a soft dependency
2016-12-19 03:36:42 -08:00
Manish Goregaokar
d61c7fc747 Merge pull request #1355 from philipturnbull/deref-addrof
Lint usage of `*&` and `*&mut`
2016-12-19 03:35:45 -08:00
Oliver Schneider
f8349e1a83 Merge pull request #1318 from oli-obk/op_assign_false_positive
don't lint on x = x + y inside an AddAssign impl
2016-12-19 12:31:08 +01:00
Oliver Schneider
5f6cae0659
update minimum required compiletest version 2016-12-19 11:13:23 +01:00
Oliver Schneider
5aded99033
don't lint on x = x + y inside an AddAssign impl
fixes #1302
2016-12-19 11:13:07 +01:00
Martin Carton
ea0227fff7 Merge pull request #1373 from Manishearth/rustup
WIP: rustup
2016-12-17 01:35:37 +01:00
mcarton
4fcefe2a9e
Bump to 0.0.104 2016-12-17 01:28:05 +01:00
Arnavion
3de6f9db20 Use inputs/output getters for rustc::ty::FnSig instead of the now non-existent fields. 2016-12-10 23:57:19 -08:00
Oliver Schneider
778ce4dfd3
update to the rust-PR that unblocks clippy 2016-12-07 13:13:40 +01:00
Oliver Schneider
4a05fbba3e
remove wrong rustc version so we don't accidentally forget to update 2016-12-06 11:33:50 +01:00