Commit graph

2258 commits

Author SHA1 Message Date
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
Oliver Schneider
c6e2967b9c
rustup to rustc 1.15.0-dev (3b248a184 2016-12-05) 2016-12-06 11:32:21 +01:00
Oliver Schneider
2e63a5648a uncomment code that was commented out for testing 2016-12-04 19:31:46 +01:00
mcarton
1ba8ed96cf
Fix dogfood 2016-12-02 22:33:16 +01:00
mcarton
65ff2df7e7
Fix copy lints 2016-12-02 22:23:24 +01:00
mcarton
fe15880beb Revert "down to for-loops not comparing as equal"
This reverts commit cf1fa94be1.
2016-12-02 20:54:05 +01:00
mcarton
42fb11f887
Don't set RUST_BACKTRACE for tests
It is slow but it can be useful and can be set/unset explicitly before
running tests if needed. There is no backtrace by default anyway.
2016-12-02 20:33:37 +01:00
Oliver Schneider
8e1f6dce40 enum detection by style convention 2016-12-02 19:30:00 +01:00
Oliver Schneider
ff2487b30e permit more equalities 2016-12-02 19:23:30 +01:00
Oliver Schneider
cf1fa94be1 down to for-loops not comparing as equal 2016-12-02 19:19:52 +01:00
Oliver Schneider
16aab71688
enum glob use and copies left 2016-12-02 17:38:31 +01:00
Wim Looman
919feaaec5 Allow allow(deprecated) attribute on use items
fixes #1372
2016-12-01 22:36:35 +01:00
Oliver Schneider
59b0077565 WIP compiles and doesn't crash (much) but tests are failing 2016-12-01 22:31:56 +01:00
Manish Goregaokar
f9fe50da1e Merge pull request #1369 from durka/no-service
fix travis config for clippy.bashy.io
2016-11-28 16:03:36 -08:00
Alex Burka
c5187ef0d9 travis: ping correct repo for clippy.bash.io 2016-11-28 18:59:23 -05:00
Alex Burka
33ec3bc8cf don't advertise clippy.bashy.io 2016-11-28 18:59:15 -05:00
Oliver Schneider
aac4c3f654 Merge pull request #1367 from Manishearth/rustup
rustup to rustc 1.15.0-nightly (d5814b03e 2016-11-23)
2016-11-25 19:33:53 +01:00
Oliver Schneider
31e482403c rustup to rustc 1.15.0-nightly (d5814b03e 2016-11-23) 2016-11-25 19:24:55 +01:00
Phil Turnbull
0ee6128e27 Convert DEREF_ADDROF to EarlyLintPass 2016-11-25 10:33:21 -05:00
Phil Turnbull
8d04038c56 Make deref_addrof suggestions stricter
SUGGESTION matches a substring so 'aref' in the testcases can match
'let b = *aref', 'let b = **aref', 'let b = *&aref' etc, which are
all wrong.
2016-11-25 10:33:01 -05:00