aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/hygiene.rs
Commit message (Collapse)AuthorAgeFilesLines
* Don't store call-site text offsets in hygiene infoJonas Schievink2021-05-061-22/+35
|
* make illegal states unrepresentableAleksey Kladov2021-05-041-6/+10
| | | | only declarative macros have def-site token map
* Basic Support Macro 2.0Edwin Cheng2021-03-271-1/+1
|
* Return `Either` from `MacroDefId::ast_id`Jonas Schievink2021-03-191-1/+1
|
* Store an `AstId` for procedural macrosJonas Schievink2021-03-181-1/+1
|
* Make MacroDefId's `AstId` mandatory when possibleJonas Schievink2021-03-181-5/+5
|
* don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger2021-03-171-5/+2
|
* shrink_to_fit `TokenMap`'s backing storageJonas Schievink2021-01-181-0/+2
|
* Proper handling $crate Take 2Edwin Cheng2021-01-071-33/+177
|
* Revert "Proper handling $crate and local_inner_macros"Jonas Schievink2021-01-031-126/+25
|
* Use arena instead of vecEdwin Cheng2021-01-021-22/+16
|
* Introduce HygieneFrames for proper token hygineeEdwin Cheng2021-01-021-25/+132
|
* Make macro def krate mandatoryJonas Schievink2020-12-151-2/+2
| | | | Refactors builtin derive support to go through proper name resolution
* Use the right `def_crate` for builtin macrosJonas Schievink2020-12-071-1/+1
|
* Rename `CustomDerive` to `ProcMacro`Jonas Schievink2020-09-181-1/+1
| | | | | It handles fn-like macros too, and will handle attribute macros in the future
* Rename ra_hir_expand -> hir_expandAleksey Kladov2020-08-131-0/+66