Add more diagnostic items for clippy
This commit is contained in:
parent
cae0791da4
commit
d464b72970
75 changed files with 289 additions and 270 deletions
|
@ -153,6 +153,7 @@ pub use core::time::TryFromFloatSecsError;
|
|||
///
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[stable(feature = "time2", since = "1.8.0")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "Instant")]
|
||||
pub struct Instant(time::Instant);
|
||||
|
||||
/// A measurement of the system clock, useful for talking to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue