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 |
|