Oliver Schneider
66165c6800
Merge pull request #2720 from estk/fix-dot-zero
...
Fix 1x...xx.0 false positive.
2018-05-05 19:52:59 +02:00
Evan Simmons
d4b536f540
Fix 1x..x.0 false positive, pretty suggestion
2018-05-05 09:45:14 -07:00
Philipp Hansch
0557359ecd
Merge pull request #2724 from Caemor/patch-1
...
Link with https instead of http
2018-05-04 18:43:27 +02:00
Oliver Schneider
4f5499ad8c
Merge pull request #2726 from rust-lang-nursery/rustup
...
Version bump
2018-05-04 16:29:57 +02:00
Oliver Schneider
642baa91cf
Version bump
2018-05-04 15:54:56 +02:00
Oliver Schneider
c1b39c4551
Merge pull request #2713 from alexreg/nightly-fix
...
Fixed build for latest rust master
2018-05-04 15:06:59 +02:00
Chris
a27baecbdf
Link with https instead of http
...
The old link caused a mixed content warning on crates.io. This should be fixed now.
2018-05-04 14:23:53 +02:00
Oliver Schneider
9ce6fb34ca
Satisfy dogfood
2018-05-04 12:59:45 +02:00
Oliver Schneider
8c9bb89608
Update inline_fn_without_body.rs
2018-05-04 10:17:30 +02:00
Alexander Regueiro
00b549ad40
Fixed build for latest nightly (again)
2018-05-03 23:28:48 +01:00
Oliver Schneider
c7ce6c07b1
Rustup field -> method transition of ..=
2018-05-03 15:52:44 +02:00
Oliver Schneider
8f1a98ff08
remove unused crate import
2018-05-03 10:56:02 +02:00
Oliver Schneider
77de1000d7
Merge pull request #2714 from imp/2709_simplify_some_internal_code
...
Simplify some internal code
2018-05-01 22:14:42 +02:00
Oliver Schneider
ee574464c8
Merge pull request #2711 from phansch/fix_2707
...
Prevent crash when macro was in different file
2018-05-01 21:28:48 +02:00
Cyril Plisko
e94ec44ab3
Simplify some internal code
...
Addresses #2709
2018-05-01 20:33:32 +03:00
Philipp Hansch
5d36edc90d
Prevent crash when macro is in different file
...
This was caused by a macro in a different file.
The `target.span` was be in the file of the macro definition and the
`item.span` in the file of the calling code.
2018-05-01 18:46:15 +02:00
Alexander Regueiro
c7ff9334a6
Fixed build for latest nightly
2018-05-01 17:10:25 +01:00
Oliver Schneider
f69dd6ad2c
Merge pull request #2672 from ysimonson/multiple-crate-versions
...
Lint for multiple versions of dependencies
2018-05-01 16:48:53 +02:00
Oliver Schneider
ce9715a834
Merge pull request #2701 from nathan/patch-1
...
Add third variant to {pub_,}enum_variant_names examples
2018-05-01 16:47:53 +02:00
Yusuf Simonson
7de706b34b
Lint for multiple versions of dependencies
2018-04-30 06:20:39 +07:00
Oliver Schneider
1742229ebb
Merge pull request #2703 from phansch/rustup20180427
...
Rustup to latest nightly
2018-04-28 13:10:59 +02:00
Philipp Hansch
1712e18b77
Rustup to latest nightly
...
Due to https://github.com/rust-lang/rust/pull/48995 and
https://github.com/rust-lang/rust/pull/49894
2018-04-28 12:56:31 +02:00
Nathan
3373fa97e2
Add third variant to {pub_,}enum_variant_names examples
...
The default value for `enum-variant-name-threshold` is 3, so the old examples (which only have two enum variants) don't actually trigger the lint by default.
2018-04-27 18:47:11 -04:00
Oliver Schneider
d45612e606
Merge pull request #2696 from nathan/patch-1
...
Fix rustfmt-induced missing line comments in examples
2018-04-27 23:43:57 +02:00
Oliver Schneider
ad899fe00a
Merge pull request #2697 from phansch/add_contributing_toc
...
Add TOC to contribution instructions
2018-04-27 23:38:29 +02:00
Philipp Hansch
6f47cb1102
Add TOC to contribution instructions
...
Also changed some headings and re-ordered the paragraphs in the testing
guide.
(I used [vim-markdown-toc](https://github.com/mzlogin/vim-markdown-toc ) to
generate it automatically.)
2018-04-27 22:12:09 +02:00
Oliver Schneider
7de3a1d392
Merge pull request #2699 from mati865/rustup
...
rustup
2018-04-27 22:09:52 +02:00
Mateusz Mikuła
cc7d66aa9c
rustup
2018-04-27 14:00:43 +02:00
Nathan
c9c649b315
Remove extraneous `'s in {wrong,crosspointer}_transmute examples
2018-04-27 02:43:16 -04:00
Nathan
78b141d937
Fix missing line comments in {drop,forget}_copy examples
2018-04-27 02:40:19 -04:00
Nathan
7f0f8acb42
Fix missing line comment in drop_ref example
2018-04-27 02:39:14 -04:00
Nathan
8ad5cb6170
Fix missing line comment in crosspointer_transmute example
2018-04-27 02:37:40 -04:00
Nathan
f327f26113
Fix missing line comment in doc_markdown example
...
rustfmt [wrapped the line](b25b6b3355 (diff-561823671726302d969756ded53a13a7L22)
), so we need a second `///`
2018-04-27 02:31:36 -04:00
Oliver Schneider
3b6440212d
Merge pull request #2673 from estk/excessive_precision
...
Excessive precision
2018-04-25 18:37:42 +02:00
Oliver Schneider
84385833d0
Merge pull request #2679 from devonhollowood/cast-alignment-cvoid
...
Make cast_ptr_alignment ignore c_void
2018-04-25 09:32:31 +02:00
Oliver Schneider
9a375668b4
Merge pull request #2687 from phansch/explain_how_lints_work
...
Explain how Clippy and lints work
2018-04-25 09:32:06 +02:00
Evan Simmons
9b14ad493b
New excessive precision lint for floats
2018-04-24 15:18:23 -07:00
Philipp Hansch
36233789d4
Mention util/update_lints.py
2018-04-24 21:04:43 +02:00
Devon Hollowood
f0e09d43c9
Make cast_ptr_alignment ignore c_void
2018-04-24 11:37:51 -07:00
Oliver Schneider
faefb4f225
Merge pull request #2684 from 17cupsofcoffee/infallible-destructuring-match
...
Lint for destructuring tuple structs/variants with an infallible single-armed match
2018-04-24 19:08:27 +02:00
Joe Clay
3c38a36d5a
Implement lint for destructuring tuple structs with a let and a match ( closes #2671 )
2018-04-24 17:56:13 +01:00
Oliver Schneider
841e467ec2
Merge pull request #2694 from humanenginuity/master
...
Fix for https://github.com/rust-lang-nursery/rust-clippy/issues/2693
2018-04-24 10:00:15 +02:00
Brad Gibson
efdd00d2ae
Merge pull request #1 from humanenginuity/fix-strictly-aligned-types-cast-messages
...
Corrected messaging to warn against less- to more-strictly aligned
2018-04-23 11:03:27 -07:00
Brad Gibson
1969d423a7
Corrected messaging to warn against less- to more-strictly align types, rather than the other way around. No logic changes required.
2018-04-23 10:59:53 -07:00
Oliver Schneider
79e818267b
Merge pull request #2690 from mrecachinas/feature/print-string-literal
...
Fix alignment/precision/width false positives for print/write_literal
2018-04-23 10:36:48 +02:00
Michael Recachinas
a317bc9d23
Update stderrs for print and write_literal
2018-04-21 19:51:58 +01:00
Michael Recachinas
54c0edcfe8
Add smaller check_unformatted to write.rs and fix precision,width,align false positive
2018-04-21 19:51:58 +01:00
Michael Recachinas
8ccaa83e90
Add more tests to print_ and write_literal
...
Also, move precision, width, and debug fmt tests to 'should pass'
2018-04-21 19:51:35 +01:00
Philipp Hansch
5bfb306b4b
Explain how Clippy works
2018-04-21 11:53:15 +02:00
Oliver Schneider
c5b39a5917
Version bump
2018-04-19 08:36:22 +02:00