Use Ident instead of Name in MetaItem
This commit is contained in:
@@ -477,7 +477,7 @@ pub enum NestedMetaItemKind {
|
||||
/// E.g. `#[test]`, `#[derive(..)]` or `#[feature = "foo"]`
|
||||
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
|
||||
pub struct MetaItem {
|
||||
pub name: Name,
|
||||
pub ident: Ident,
|
||||
pub node: MetaItemKind,
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user