2022-05-05 09:12:52 -05:00
|
|
|
error: you are using an explicit closure for cloning elements
|
2022-01-27 08:12:45 -06:00
|
|
|
--> $DIR/min_rust_version.rs:74:26
|
|
|
|
|
|
|
|
|
LL | let _: Option<u64> = Some(&16).map(|b| *b);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `cloned` method: `Some(&16).cloned()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::map-clone` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::map_clone)]`
|
2022-01-27 08:12:45 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|