blob: feb48d84a1d35ee30269cc2cb748bcff8a552c4e [file]
error: calling `Duration::default()` is more clear than this expression
--> tests/ui/default_trait_access_unfixable.rs:5:34
|
LL | let _: std::time::Duration = Default::default();
| ^^^^^^^^^^^^^^^^^^ help: try: `Duration::default()`
|
= note: `-D clippy::default-trait-access` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::default_trait_access)]`
error: aborting due to 1 previous error