diff options
author | Aleksey Kladov <[email protected]> | 2019-11-23 09:01:56 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-23 09:01:56 +0000 |
commit | 1a9986496387544c048475765ac64e83518437af (patch) | |
tree | e2316c48dff66016162a13b0b82a9b01655e485f /crates/ra_hir_def/src/lib.rs | |
parent | 552ba868afc8f72202ac834d07bbeb330aca007d (diff) |
Use attrs rather than syntax for lang items
Diffstat (limited to 'crates/ra_hir_def/src/lib.rs')
-rw-r--r-- | crates/ra_hir_def/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/lib.rs b/crates/ra_hir_def/src/lib.rs index 1bcdf9b78..20d4deadb 100644 --- a/crates/ra_hir_def/src/lib.rs +++ b/crates/ra_hir_def/src/lib.rs | |||
@@ -489,6 +489,7 @@ pub enum AttrDefId { | |||
489 | TraitId(TraitId), | 489 | TraitId(TraitId), |
490 | TypeAliasId(TypeAliasId), | 490 | TypeAliasId(TypeAliasId), |
491 | MacroDefId(MacroDefId), | 491 | MacroDefId(MacroDefId), |
492 | ImplId(ImplId), | ||
492 | } | 493 | } |
493 | 494 | ||
494 | impl_froms!( | 495 | impl_froms!( |
@@ -501,7 +502,8 @@ impl_froms!( | |||
501 | FunctionId, | 502 | FunctionId, |
502 | TraitId, | 503 | TraitId, |
503 | TypeAliasId, | 504 | TypeAliasId, |
504 | MacroDefId | 505 | MacroDefId, |
506 | ImplId | ||
505 | ); | 507 | ); |
506 | 508 | ||
507 | trait Intern { | 509 | trait Intern { |