@@ -55,7 +55,7 @@ mod tests;
55
55
/// ```
56
56
///
57
57
/// `'outer` is a label.
58
- #[ derive( Clone , RustcEncodable , RustcDecodable , Copy ) ]
58
+ #[ derive( Clone , RustcEncodable , RustcDecodable , Copy , HashStable_Generic ) ]
59
59
pub struct Label {
60
60
pub ident : Ident ,
61
61
}
@@ -483,7 +483,7 @@ pub struct Crate {
483
483
/// Possible values inside of compile-time attribute lists.
484
484
///
485
485
/// E.g., the '..' in `#[name(..)]`.
486
- #[ derive( Clone , RustcEncodable , RustcDecodable , Debug ) ]
486
+ #[ derive( Clone , RustcEncodable , RustcDecodable , Debug , HashStable_Generic ) ]
487
487
pub enum NestedMetaItem {
488
488
/// A full MetaItem, for recursive meta items.
489
489
MetaItem ( MetaItem ) ,
@@ -496,7 +496,7 @@ pub enum NestedMetaItem {
496
496
/// A spanned compile-time attribute item.
497
497
///
498
498
/// E.g., `#[test]`, `#[derive(..)]`, `#[rustfmt::skip]` or `#[feature = "foo"]`.
499
- #[ derive( Clone , RustcEncodable , RustcDecodable , Debug ) ]
499
+ #[ derive( Clone , RustcEncodable , RustcDecodable , Debug , HashStable_Generic ) ]
500
500
pub struct MetaItem {
501
501
pub path : Path ,
502
502
pub kind : MetaItemKind ,
@@ -506,7 +506,7 @@ pub struct MetaItem {
506
506
/// A compile-time attribute item.
507
507
///
508
508
/// E.g., `#[test]`, `#[derive(..)]` or `#[feature = "foo"]`.
509
- #[ derive( Clone , RustcEncodable , RustcDecodable , Debug ) ]
509
+ #[ derive( Clone , RustcEncodable , RustcDecodable , Debug , HashStable_Generic ) ]
510
510
pub enum MetaItemKind {
511
511
/// Word meta item.
512
512
///
0 commit comments