about summary refs log tree commit diff
path: root/clippy_lints/src/utils/diagnostics.rs
AgeCommit message (Collapse)AuthorLines
2020-01-27Rename `span_note_and_lint` to `span_lint_and_note`Yuki Okushi-1/+1
2020-01-27Rename `span_help_and_lint` to `span_lint_and_help`Yuki Okushi-1/+1
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+1
2020-01-11Rustup to rust-lang/rust#68101Yuki Okushi-2/+1
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-1/+1
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+1
Specifically caused by https://github.com/rust-lang/rust/pull/67786
2019-06-12Remove wrong lifetime from LintContextLzu Tao-17/+6
2019-04-05use a multispan for MANY_SINGLE_CHAR_NAMESAndy Russell-2/+2
2019-03-12Rename span_lint_node* functions to span_lint_hir*Philipp Hansch-5/+5
Because they now take a `hir_id` instead of a `node_id` argument.
2019-03-01enable rust-lang/rust#58754ljedrz-4/+2
2019-02-26Auto merge of #3814 - ljedrz:HirIdification_lockstep_upgrade, r=phanschbors-5/+7
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-25Make DiagnosticWrapper privatePhilipp Hansch-1/+1
It's doesn't have to be public anywhere outside of clippy_lints
2019-02-24HirIdify some lintsljedrz-5/+7
2019-02-24Extract diagnostics module and document some functionsPhilipp Hansch-0/+205
This moves the lint building functions from `utils/mod.rs` to their own `utils/diagnostics.rs` file. Also adds documentation for three of them.