cherryblossom
b48699e4cf
single_component_path_imports
: ignore pub(crate) use some_macro;
(fixes #7106 )
2021-04-22 19:34:36 +10:00
ThibsG
297e84f3f4
Handle imports which are nested directly
2021-04-10 10:26:53 +02:00
ThibsG
81dfb9ecfb
Check path imports per module
2021-04-04 14:25:05 +02:00
ThibsG
6985d13a97
Take into account sub modules
2021-03-28 09:37:59 +02:00
ThibsG
1768efa333
Fix FP in single_component_path_imports
lint
2021-03-28 09:37:05 +02:00
Cameron Steffen
0743e841f0
Don't re-export clippy_utils::*
2021-03-17 09:13:52 -05:00
Cameron Steffen
1c3a3e7dc6
Don't re-export clippy_utils::diagnostics::*
2021-03-15 20:06:01 -05:00
Mara Bos
e5a1f22f48
Initial support for Rust 2021.
...
Clippy treated Rust 2021 as Rust 2015, because 2018 was checked with
`==` instead of `>=`. This fixes that, such that 2018-specific things
are also enabled for 2021.
2021-01-01 16:21:31 +01:00
Aaron Hill
8808dc6abf
Fully integrate token collection for additional AST structs
...
This commit contains miscellaneous changes that don't fit into any of
the other commits in this PR
2020-09-10 17:58:14 -04:00
Ujjwal Sharma
ae0eb390b0
rust_ast::ast => rustc_ast
2020-08-17 20:32:32 +00:00
Lzu Tao
8db24840f7
Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy
2020-06-09 14:36:01 +00:00
Yuki Okushi
4253aa7137
Rustup to rust-lang/rust#69592
2020-03-01 12:23:33 +09:00
Yuki Okushi
09165ff576
Don't lint single_component_path_imports
in macros
2020-02-17 11:13:42 +09:00
xiongmao86
512efbea23
Declare lint and implement lint logic.
2020-01-30 00:21:29 +08:00