summaryrefslogtreecommitdiffstats
path: root/vendor/derivative/tests/clippy-warning-clone-from.rs
blob: 6811e1a4bdb8e3d20e70deb4adcef40d8e8e9de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![deny(clippy::all)]

#[cfg(feature = "use_core")]
extern crate core;

#[macro_use]
extern crate derivative;

#[derive(Derivative)]
#[derivative(Clone(clone_from = "true"))]
pub struct Foo {}

fn main() {}