diff options
Diffstat (limited to 'crates/ra_tt')
-rw-r--r-- | crates/ra_tt/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_tt/src/lib.rs b/crates/ra_tt/src/lib.rs index e7bfd5fd2..209ca4048 100644 --- a/crates/ra_tt/src/lib.rs +++ b/crates/ra_tt/src/lib.rs | |||
@@ -64,12 +64,14 @@ pub enum Delimiter { | |||
64 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] | 64 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
65 | pub struct Literal { | 65 | pub struct Literal { |
66 | pub text: SmolStr, | 66 | pub text: SmolStr, |
67 | pub id: TokenId, | ||
67 | } | 68 | } |
68 | 69 | ||
69 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 70 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |
70 | pub struct Punct { | 71 | pub struct Punct { |
71 | pub char: char, | 72 | pub char: char, |
72 | pub spacing: Spacing, | 73 | pub spacing: Spacing, |
74 | pub id: TokenId, | ||
73 | } | 75 | } |
74 | 76 | ||
75 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 77 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |