Commit graph

3523 commits

Author SHA1 Message Date
Oliver Schneider
1ecce2d803
Merge pull request #2307 from clarcharr/master
Rearrange README.md.
2017-12-27 23:28:04 +01:00
Clar Charr
8abf9647ce Rearrange README.md.
This suggests `cargo clippy` first, which is probably the best method at this point. It also describes how to enable clippy only when testing.
2017-12-27 11:06:40 -05:00
Michael Wright
6737bae9b1 Implemented option_option lint 2017-12-26 09:24:12 +02:00
Darren Tsung
0f4c40b229 Start regression tests for types.rs 2017-12-23 10:15:11 -08:00
Oliver Schneider
f0d0fc69de
Merge pull request #2291 from DarrenTsung/fix_2265
Fix #2265, ignore eq_op lint in macro invocation
2017-12-23 01:06:44 +01:00
Darren Tsung
b9abe028c9 Move in_macro check to end of expression since usual case is not inside macro 2017-12-22 10:54:52 -08:00
Darren Tsung
1f36aa519e Check that eq_op lint doesn’t mark macro use of functions as errors since macros, fix #2265 2017-12-22 10:51:41 -08:00
Darren Tsung
50eb48e42b Create failing test for equal inside macro 2017-12-22 10:37:44 -08:00
Manish Goregaokar
4daa4e38e2
Merge pull request #2289 from rust-lang-nursery/rustup
Rustup to rustc 1.24.0-nightly (250b49205 2017-12-21)
2017-12-21 21:12:54 -08:00
Manish Goregaokar
fae8a763f8
Bump to 0.0.177 2017-12-21 20:56:26 -08:00
Manish Goregaokar
bebc192df4 Universal impl traits get removed earlier now
https://github.com/rust-lang/rust/pull/46754
2017-12-21 20:54:49 -08:00
Manish Goregaokar
7e099903be Update to handle GenericParam
introduced in https://github.com/rust-lang/rust/pull/45930
2017-12-21 20:54:49 -08:00
Martin Carton
ebcdf03147
Merge pull request #2286 from DarrenTsung/readme-clarify-add-lines
Clarify README for new Rust users.
2017-12-22 00:45:50 +01:00
Darren Tsung
203038cbe5 Add +nightly to command for running cargo build. 2017-12-21 15:24:18 -08:00
Darren Tsung
1d523ce8f7 Add “, add these lines” as well as removing the extra space between the attributes to make it more clear that both should be included. 2017-12-21 15:21:28 -08:00
Oliver Schneider
2179f4d790
Merge pull request #2284 from rust-lang-nursery/new-macro
Move mini-macro to proc macro
2017-12-20 21:56:00 +01:00
Manish Goregaokar
775372db90 Move mini-macro to proc macro
We can add a bang-style proc macro again once it stabilizes (we can use
the proc macro hack, but it's unnecessary for now)
2017-12-20 08:16:44 -08:00
Oliver Schneider
f0168621c9
Merge pull request #2281 from detrumi/match-as-ref
Lint for matching option as ref
2017-12-20 11:07:31 +01:00
Wilco Kusee
a6ccc6fe3d Also suggest as_mut for match_as_ref 2017-12-20 10:39:48 +01:00
Wilco Kusee
919601bc51 Lint for matching option as ref 2017-12-19 23:51:06 +01:00
Oliver Schneider
cf58e1c672
Merge pull request #2269 from letheed/fix-2267
Disable cast_lossless on const/static items
2017-12-17 15:09:41 +01:00
Oliver Schneider
8ddcb81a15
Rustup and lazy_static version mismatch fix
fixes #2274
2017-12-15 10:05:32 +01:00
Martin Carton
86da435461
Merge pull request #2273 from imp/fixlink
Fix crates.io site name
2017-12-14 23:37:43 +01:00
Cyril Plisko
e7bd162585 Fix crates.io site name 2017-12-15 00:33:23 +02:00
letheed
2703e74440 Disable cast_lossless on const items 2017-12-11 16:22:02 +01:00
Oliver Schneider
f5f0273f53
Update ui tests to latest rustc changes 2017-12-07 11:21:37 +01:00
Oliver Schneider
299ffcab77
Try fixing const_with_static_lifetime docs 2017-12-07 08:09:46 +01:00
Oliver Schneider
7525854f30
Version bump 2017-12-02 13:02:02 +01:00
Oliver Schneider
6c7b71d81a
Merge pull request #2255 from topecongiro/rustup-2017-12-01
Rustup to rustc 1.24.0-nightly (bb42071f6 2017-12-01)
2017-12-02 12:59:37 +01:00
Seiichi Uchida
4121507a48 Rustup to rustc 1.24.0-nightly (bb42071f6 2017-12-01) 2017-12-02 18:23:32 +09:00
Oliver Schneider
6bb661b8c8
Merge pull request #2254 from LaurentMazare/master
Avoid the MATCH_SAME_ARMS warning when two arms are separated by an arm with a guard
2017-12-01 21:07:11 +01:00
laurent
6c18811764 Revert the regex test change. 2017-12-01 19:59:40 +00:00
laurent
c3a8946a46 Bugfix the bugfix. 2017-12-01 19:27:02 +00:00
laurent
904f27a2ea Do raise a same-arms warning when the two arms are separated by an arm with a guard, fix #1996. 2017-12-01 19:25:43 +00:00
Oliver Schneider
876d6d8c43
Merge pull request #2166 from HMPerson1/fix_2160
Fix #2160
2017-12-01 08:10:30 +01:00
HMPerson1
c2c324ec65 Update ui test 2017-11-30 19:50:31 -05:00
HMPerson1
e2bc383383 Add linting for empty blocks too 2017-11-30 19:40:40 -05:00
HMPerson1
5fca6eb89e Fix #2160 2017-11-30 15:31:56 -05:00
Oliver Schneider
7d7fef1690
Fix #1925 2017-11-30 10:55:06 +01:00
Oliver Schneider
1c95a7cf35
Merge pull request #2251 from LaurentMazare/master
Add a couple small tests to the match-same-arm lint + fix a small issue in search_same.
2017-11-30 10:53:48 +01:00
Oliver Schneider
4d9c41f566
Use latest compiletest 2017-11-30 09:31:23 +01:00
laurent
c3ae2ddeb3 Fix a bug in search_same + add a test case. 2017-11-29 21:42:58 +00:00
laurent
3eb642bcdd Add another test. 2017-11-29 20:52:49 +00:00
laurent
f8dbd32433 Add a couple small tests to the match-same-arm lint. 2017-11-29 20:42:37 +00:00
Oliver Schneider
273ddafac5
Fix #2188 2017-11-29 17:20:00 +01:00
Oliver Schneider
d5b73c184b
Fix placement of new_without_default suggestion 2017-11-29 17:10:53 +01:00
Oliver Schneider
317e97bae7
Fix #2196 2017-11-29 17:06:27 +01:00
Oliver Schneider
e62727ee51
Add regression test (fixes #2234) 2017-11-29 16:05:13 +01:00
Oliver Schneider
f65a022ace
Fix #2245 2017-11-29 16:03:05 +01:00
Oliver Schneider
0b0337d258
Fix #2247 2017-11-29 15:52:57 +01:00