We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97aa8dc commit 1d1b6d8Copy full SHA for 1d1b6d8
clippy_lints/src/utils/paths.rs
@@ -1,5 +1,8 @@
1
//! This module contains paths to types and functions Clippy needs to know
2
//! about.
3
+//!
4
+//! Whenever possible, please consider diagnostic items over hardcoded paths.
5
+//! See <https://github.com/rust-lang/rust-clippy/issues/5393> for more information.
6
7
pub const ANY_TRAIT: [&str; 3] = ["std", "any", "Any"];
8
pub const ARC: [&str; 3] = ["alloc", "sync", "Arc"];
0 commit comments