flip1995
|
1751d2496d
|
Run rustfmt on clippy_lints
|
2018-11-27 21:14:15 +01:00 |
|
Matthias Krüger
|
4aae76464c
|
rustup https://github.com/rust-lang/rust/pull/52591
|
2018-11-21 13:29:23 +01:00 |
|
Owen Sanchez
|
50b9e7aebc
|
Don't emit new_without_default_derive if an impl of Default exists
|
2018-10-23 20:44:31 -07:00 |
|
Daniele D'Orazio
|
59c4ff77f1
|
new_without_default should not warn about unsafe new
|
2018-10-07 12:39:54 +02:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
Vitaly _Vi Shukela
|
58729346be
|
Fill in Applicability from review comments by @flip1995
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
3eccccb367
|
Fix indents
|
2018-09-20 14:38:48 +02:00 |
|
Vitaly _Vi Shukela
|
d4c994e670
|
Supplement DiagnosticBuilderExt with Applicability
|
2018-09-20 14:38:47 +02:00 |
|
Eduard-Mihai Burtescu
|
9219fc6c5c
|
Reintroduce extern crate for non-Cargo dependencies.
|
2018-09-15 11:10:51 +03:00 |
|
flip1995
|
8c07772dbb
|
Switch to declare_tool_lint macro
|
2018-08-29 11:08:29 -07:00 |
|
Oliver Schneider
|
d99cea0f16
|
Update imports and rustup
|
2018-08-28 13:13:42 +02:00 |
|
Matthias Krüger
|
fc31dc01de
|
docs: make example in new_without_default lint syntax highlighted
|
2018-08-27 17:35:30 +02:00 |
|
Matthias Krüger
|
712d2d4fa1
|
rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581
|
2018-08-22 23:34:52 +02:00 |
|
Manish Goregaokar
|
76321d3300
|
codemap -> source_map
https://github.com/rust-lang/rust/pull/52953
|
2018-08-19 19:06:54 -07:00 |
|
flip1995
|
12f2d61fa9
|
Replace cfg_attr(rustfmt... thingies
|
2018-08-02 23:04:20 +02:00 |
|
Dale Wijnand
|
a1cce2d06a
|
Inline utils::in_external_macro
|
2018-07-24 10:38:58 +01:00 |
|
Oliver Schneider
|
afd91248ed
|
Rustup
|
2018-07-23 13:01:12 +02:00 |
|
Manish Goregaokar
|
5918a3fc1e
|
Remove import of if_chain
|
2018-07-20 00:50:02 -07:00 |
|
Manish Goregaokar
|
5d74e2096b
|
Remove import of rustc
|
2018-07-19 00:53:23 -07:00 |
|
Oliver Schneider
|
6992937002
|
Update for hir renamings in rustc
|
2018-07-16 15:07:39 +02:00 |
|
Mateusz Mikuła
|
48cb6e273e
|
Rustup
|
2018-06-29 09:49:05 +02:00 |
|
flip1995
|
d9a80d2f84
|
Resolve field, struct and function renaming
Addresses the errors produced by (re)moving, merging or renaming
structs, fields and methods by rust-lang/rust#48149 and rust-lang/rust#51580
|
2018-06-25 12:25:20 +02:00 |
|
Mateusz Mikuła
|
424a33720d
|
Run rustfix
|
2018-05-30 10:15:50 +02:00 |
|
Mateusz Mikuła
|
26f3feb980
|
Add rust_2018_preview feature and fix rustfmt annotation
|
2018-05-30 10:10:01 +02:00 |
|
Oliver Schneider
|
d6344c47e3
|
Categorize all the lints!
|
2018-03-28 15:24:26 +02: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 |
|
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 |
|
topecongiro
|
a6c71e9c0d
|
Fix lines that exceed max width manually
|
2017-11-05 04:59:21 +09:00 |
|
topecongiro
|
7a06d312fd
|
Cargo fmt
|
2017-11-05 04:55:56 +09:00 |
|
topecongiro
|
65e75c5647
|
Fix excessive indentation in if_chain!
|
2017-11-05 04:51:15 +09:00 |
|
Manish Goregaokar
|
09143cdaf0
|
Update tests; make it work with generics on context
|
2017-10-29 05:19:24 -04:00 |
|
Manish Goregaokar
|
b0616df931
|
Merge branch 'pr-2140'
|
2017-10-28 14:04:25 -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 |
|
Sunjay Varma
|
da14435ed2
|
Updated clippy to account for changes from rust-lang/rust#44766
|
2017-10-15 15:39:47 -04:00 |
|
Oliver Schneider
|
e4524ac4de
|
Run nightly rustfmt
|
2017-09-05 12:39:27 +02:00 |
|
Oliver Schneider
|
b25b6b3355
|
Rustfmt
|
2017-08-14 09:43:26 +02:00 |
|
scott-linder
|
1ce3cbf9c4
|
Ignore new-without-default lint when new method has generic types
There may be no sensible `Default` impl if the result of `new` depends
on a type parameter.
|
2017-06-14 12:58:22 -04:00 |
|
Eduard-Mihai Burtescu
|
e4ca0e515f
|
Remove uses of span_if_local.
|
2017-06-11 06:15:53 +03: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 |
|
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
|
3b73663506
|
Update to latest rustc version
|
2017-04-27 14:00:35 +02:00 |
|
Oliver Schneider
|
0ae1a77a2e
|
Do some additional cleanup around InternedString and Symbol
|
2017-03-30 10:21:13 +02:00 |
|
Oliver Schneider
|
d9e69a70df
|
Fix fallout
|
2017-03-30 09:46:04 +02:00 |
|
sinkuu
|
8cb2ec804d
|
Support generic type
|
2017-02-18 10:14:25 +09:00 |
|
Mrmaxmeier
|
2216a890a6
|
TyCtxt::map is now called TyCtxt::hir
|
2017-02-03 14:16:07 +01:00 |
|
Josh Holmer
|
64f5dbc9f8
|
Rustup to rustc 1.16.0-nightly (468227129 2017-01-03): Body fixes for rustup
|
2017-01-04 15:50:30 -08:00 |
|
Manish Goregaokar
|
b8b54eb0d8
|
Fix suggestion span on new_without_default (fixes #1407)
|
2016-12-29 11:19:32 -08: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
|
4a4e1ea2c5
|
also run rustfmt on clippy-lints
|
2016-12-20 18:21:30 +01:00 |
|
Oliver Schneider
|
778ce4dfd3
|
update to the rust-PR that unblocks clippy
|
2016-12-07 13:13:40 +01:00 |
|
Oliver Schneider
|
c6e2967b9c
|
rustup to rustc 1.15.0-dev (3b248a184 2016-12-05)
|
2016-12-06 11:32:21 +01:00 |
|
mcarton
|
c35f82b823
|
Rustup to *rustc 1.15.0-nightly (7b3eeea22 2016-11-21)*
|
2016-11-23 21:31:55 +01:00 |
|
mcarton
|
19c5f5394b
|
Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14)
|
2016-11-16 23:05:26 +01:00 |
|
mcarton
|
ab6669a641
|
Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)*
|
2016-09-10 19:13:49 +02:00 |
|
Oliver Schneider
|
40720a61e8
|
rustup for the ! type
|
2016-08-17 17:58:15 +02:00 |
|
Georg Brandl
|
3b5ff0f813
|
Make the lint docstrings more consistent.
|
2016-08-07 08:06:19 +02:00 |
|
Oliver Schneider
|
81c5757f44
|
lint on by ref patterns for references
|
2016-08-01 16:59:14 +02:00 |
|
mcarton
|
eb75d4ee62
|
Fix suggestions for NEW_WITHOUT_DEFAULT
|
2016-07-10 14:20:38 +02:00 |
|
Oliver Schneider
|
799861d7e0
|
use span_lint_and_then instead of adding to the DiagnosticWrapper
|
2016-06-27 17:14:04 +02:00 |
|
mcarton
|
90453fd893
|
Run rustfmt
Only partially apply suggestions.
|
2016-06-10 00:08:14 +02:00 |
|
Manish Goregaokar
|
bf4ce86e9e
|
Make new_without_default ignore const fns; fixes #977
|
2016-06-03 20:17:39 +05:30 |
|
Andre Bogus
|
49982036fc
|
only lint new_without_default for public items
This fixes #953.
|
2016-06-01 23:35:14 +02:00 |
|
Oliver Schneider
|
bf227f4729
|
split clippy into lints, plugin and cargo-clippy
|
2016-05-27 13:03:58 +02:00 |
|