X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_attr%2Fsrc%2Fbuiltin.rs;h=dca7f5dd48769f5a7455dc5ee9f16c763e3714c2;hb=724cca6d7f792cf3edea743a8fdc2dab397467e2;hp=8c5beb1025803ec05b2450e6dd72793675866afe;hpb=670f5c6ef385f251df5cd7bcba9e8039a80bdb4d;p=rust.git diff --git a/compiler/rustc_attr/src/builtin.rs b/compiler/rustc_attr/src/builtin.rs index 8c5beb10258..dca7f5dd487 100644 --- a/compiler/rustc_attr/src/builtin.rs +++ b/compiler/rustc_attr/src/builtin.rs @@ -604,7 +604,7 @@ pub fn eval_condition( } } -#[derive(Debug, Encodable, Decodable, Clone, HashStable_Generic)] +#[derive(Copy, Debug, Encodable, Decodable, Clone, HashStable_Generic)] pub struct Deprecation { pub since: Option, /// The note to issue a reason.