rust/clippy_lints/src/utils
Ayaz Hafiz 7c1b3aa0dd Record span of const kw in GenericParamKind
Context: this is needed to fix https://github.com/rust-lang/rustfmt/issues/4263,
which currently records the span of a const generic param incorrectly
because the location of the `const` kw is not known.

I am not sure how to add tests for this; any guidance in how to do so
would be appreciated 🙂
2020-06-23 09:25:46 -07:00
..
ast_utils.rs Record span of const kw in GenericParamKind 2020-06-23 09:25:46 -07:00
attrs.rs Cleanup: Rename 'db' variable to 'diag' 2020-04-17 08:08:00 +02:00
author.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
camel_case.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
comparisons.rs Rustup to rust-lang/rust#67886 2020-01-07 01:46:33 +09:00
conf.rs Merge commit '7ea7cd165a' into clippyup2 2020-05-28 15:45:24 +02:00
constants.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
diagnostics.rs Merge commit 'e214ea82ad' into clippyup 2020-05-17 17:36:26 +02:00
higher.rs Rustup to rust-lang/rust#70632 2020-04-01 20:14:05 +02:00
hir_utils.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
inspector.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
internal_lints.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
mod.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
numeric_literal.rs nursery group -> style 2020-03-23 16:45:31 +00:00
paths.rs Merge commit 'ff0993c5e9' into clippy 2020-06-09 14:36:01 +00:00
ptr.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
sugg.rs Merge commit '7ea7cd165a' into clippyup2 2020-05-28 15:45:24 +02:00
sym.rs Rustup to https://github.com/rust-lang/rust/pull/67853 2020-01-04 11:30:03 +01:00
usage.rs Merge commit 'e214ea82ad' into clippyup 2020-05-17 17:36:26 +02:00