diff options
author | Edwin Cheng <[email protected]> | 2020-03-18 09:47:59 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-03-25 11:50:12 +0000 |
commit | 34dc8d25c1e461cc311d6d4404f74502513cd3ae (patch) | |
tree | 00aab26b07c1cd42dfa350eeddc6c41e5bea178b /crates/ra_mbe | |
parent | e2dd17f75b1bb5e1185acff66211e74430177592 (diff) |
Add basic custom derive lowering
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/syntax_bridge.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index e3cde9eed..8e8ae2b29 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs | |||
@@ -33,7 +33,7 @@ impl TokenTextRange { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | /// Maps `tt::TokenId` to the relative range of the original token. | 35 | /// Maps `tt::TokenId` to the relative range of the original token. |
36 | #[derive(Debug, PartialEq, Eq, Default)] | 36 | #[derive(Debug, PartialEq, Eq, Clone, Default)] |
37 | pub struct TokenMap { | 37 | pub struct TokenMap { |
38 | /// Maps `tt::TokenId` to the *relative* source range. | 38 | /// Maps `tt::TokenId` to the *relative* source range. |
39 | entries: Vec<(tt::TokenId, TokenTextRange)>, | 39 | entries: Vec<(tt::TokenId, TokenTextRange)>, |