mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
#[serde(transparent)] for SyntaxContext
This commit is contained in:
parent
4ab510827a
commit
55b473b744
@ -23,6 +23,7 @@ use std::fmt;
|
||||
/// A SyntaxContext represents a chain of macro expansions (represented by
|
||||
/// marks).
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Default, PartialOrd, Ord, Hash, Serialize, Deserialize)]
|
||||
#[serde(transparent)]
|
||||
pub struct SyntaxContext(u32);
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
|
Loading…
Reference in New Issue
Block a user