Skip to content

Commit 577536b

Browse files
committed
useless_attribute: Update docs for allowed attributes
1 parent 5e7467f commit 577536b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

clippy_lints/src/attrs/mod.rs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,21 @@ declare_clippy_lint! {
6161
///
6262
/// This lint permits lint attributes for lints emitted on the items themself.
6363
/// For `use` items these lints are:
64+
/// * ambiguous_glob_reexports
65+
/// * dead_code
6466
/// * deprecated
67+
/// * hidden_glob_reexports
6568
/// * unreachable_pub
66-
/// * unused_imports
69+
/// * unused
70+
/// * unused_braces
71+
/// * unused_import_braces
72+
/// * clippy::disallowed_types
6773
/// * clippy::enum_glob_use
6874
/// * clippy::macro_use_imports
75+
/// * clippy::module_name_repetitions
76+
/// * clippy::redundant_pub_crate
77+
/// * clippy::single_component_path_imports
78+
/// * clippy::unsafe_removed_from_name
6979
/// * clippy::wildcard_imports
7080
///
7181
/// For `extern crate` items these lints are:

0 commit comments

Comments
 (0)