1 #![warn(clippy::internal)]
2 #![allow(clippy::missing_clippy_version_attribute, clippy::unnecessary_def_path)]
6 pub const ANY_TRAIT: [&str; 3] = ["std", "any", "Any"];
8 // Path to method on inherent impl of a primitive type
9 pub const F32_EPSILON: [&str; 4] = ["core", "f32", "<impl f32>", "EPSILON"];
11 // Path to method on inherent impl
12 pub const ARC_PTR_EQ: [&str; 4] = ["alloc", "sync", "Arc", "ptr_eq"];
14 // Path with empty segment
15 pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
17 // Path with bad crate
18 pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
20 // Path with bad module
21 pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
23 // Path to method on an enum inherent impl
24 pub const OPTION_IS_SOME: [&str; 4] = ["core", "option", "Option", "is_some"];