Eduardo Broto
|
c86a7e5f38
|
Misc doc updates
|
2020-09-15 10:29:53 +02:00 |
|
Eduard-Mihai Burtescu
|
30c046ede4
|
Use 'tcx for references to AccessLevels wherever possible.
|
2020-07-03 00:04:48 +03:00 |
|
flip1995
|
f1d3086492
|
Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup
|
2020-05-17 17:36:26 +02:00 |
|
Eduardo Broto
|
00b4f2819f
|
Implement unsafe_derive_deserialize lint
|
2020-04-19 23:26:17 +02:00 |
|
Philipp Krones
|
41115d994a
|
Formatting and naming
|
2020-04-19 20:38:07 +02:00 |
|
xiongmao86
|
d7f1a1ed2b
|
Change note_span argument for span_lint_and_note.
|
2020-04-18 18:29:36 +08:00 |
|
xiongmao86
|
cf4e35339b
|
Add an Option<Span> argument to span_lint_and_help.
|
2020-04-18 18:28:29 +08:00 |
|
xiongmao86
|
bdd32e7700
|
Implement collapsible_span_lint_calls lint.
|
2020-04-18 18:13:50 +08:00 |
|
Philipp Hansch
|
870ae36f85
|
Cleanup: Rename 'db' variable to 'diag'
|
2020-04-17 08:08:00 +02:00 |
|
Linus Färnstrand
|
51bb1d28c5
|
Use assoc const NAN for zero_div_zero lint
|
2020-04-08 00:43:27 +02:00 |
|
flip1995
|
57b636422a
|
Rustup to rust-lang/rust#68725
|
2020-02-10 15:59:21 +01:00 |
|
Yuki Okushi
|
f5e86d6894
|
Rename span_note_and_lint to span_lint_and_note
|
2020-01-27 11:26:42 +09:00 |
|
Yuki Okushi
|
f60f12f71f
|
Rename span_help_and_lint to span_lint_and_help
|
2020-01-27 11:17:58 +09:00 |
|
Yuki Okushi
|
ce1c6b285d
|
Rustup to rust-lang/rust#68045
|
2020-01-13 21:55:57 +09:00 |
|
Yuki Okushi
|
8daa2784c7
|
Rustup to rust-lang/rust#68101
|
2020-01-11 09:06:09 +09:00 |
|
Yuki Okushi
|
2f2eaf8b7e
|
Rustup to rust-lang/rust#67886
|
2020-01-07 01:46:33 +09:00 |
|
Philipp Hansch
|
c5178e82b4
|
Rustup to https://github.com/rust-lang/rust/pull/67853
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
2020-01-04 11:30:03 +01:00 |
|
Lzu Tao
|
79e3c7cd55
|
Remove wrong lifetime from LintContext
|
2019-06-12 10:28:52 +02:00 |
|
Andy Russell
|
0d50d44ea6
|
use a multispan for MANY_SINGLE_CHAR_NAMES
|
2019-04-05 10:07:39 -04:00 |
|
Philipp Hansch
|
8a59f81180
|
Rename span_lint_node* functions to span_lint_hir*
Because they now take a `hir_id` instead of a `node_id` argument.
|
2019-03-12 08:01:21 +01:00 |
|
ljedrz
|
f2587703cc
|
enable rust-lang/rust#58754
|
2019-03-01 19:10:14 +01:00 |
|
bors
|
412d41ae86
|
Auto merge of #3814 - ljedrz:HirIdification_lockstep_upgrade, r=phansch
HirIdify some lints
Unblocks https://github.com/rust-lang/rust/pull/58561 (a part of [rust-lang/rust#57578](https://github.com/rust-lang/rust/pull/57578)). Can we branch it like with https://github.com/rust-lang/rust-clippy/pull/3790? I can rebase on a different commit if need be.
Haven't had time to run tests yet, so I'd wait for Travis 🙈.
|
2019-02-26 10:43:50 +00:00 |
|
Philipp Hansch
|
bd949328f1
|
Make DiagnosticWrapper private
It's doesn't have to be public anywhere outside of clippy_lints
|
2019-02-25 07:19:56 +01:00 |
|
ljedrz
|
8dac8a6ba4
|
HirIdify some lints
|
2019-02-24 20:49:43 +01:00 |
|
Philipp Hansch
|
7d883cddbc
|
Extract diagnostics module and document some functions
This moves the lint building functions from `utils/mod.rs` to their own
`utils/diagnostics.rs` file. Also adds documentation for three of them.
|
2019-02-24 14:11:05 +01:00 |
|