]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_utils/src/paths.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[rust.git] / src / tools / clippy / clippy_utils / src / paths.rs
index 05429d05d9ebe8285698298b598daeaab5eb1347..8d697a301c444c354efd1ee383a5be24eae64099 100644 (file)
 pub const WEAK_ARC: [&str; 3] = ["alloc", "sync", "Weak"];
 pub const WEAK_RC: [&str; 3] = ["alloc", "rc", "Weak"];
 pub const PTR_NON_NULL: [&str; 4] = ["core", "ptr", "non_null", "NonNull"];
+pub const INSTANT_NOW: [&str; 4] = ["std", "time", "Instant", "now"];
+pub const INSTANT: [&str; 3] = ["std", "time", "Instant"];