aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src
Commit message (Expand)AuthorAgeFilesLines
* Use `pub(crate)`Jonas Schievink2021-04-091-1/+5
* Rewrite `#[derive]` removal to be based on ASTJonas Schievink2021-04-094-105/+92
* Store `#[derive]` attribute ID along macro invocJonas Schievink2021-04-092-3/+7
* Add `AttrId` to track attribute sourcesJonas Schievink2021-04-091-0/+3
* Use named fields in `MacroCallKind`Jonas Schievink2021-04-084-16/+18
* Update `OUT_DIR` diagnostic to match settingJonas Schievink2021-04-071-1/+1
* Make `ast_to_token_tree` infallibleJonas Schievink2021-04-043-13/+7
* Implement edition-dependent builtin `panic!` macroJonas Schievink2021-04-033-2/+26
* internal: document semantics for missing namesAleksey Kladov2021-03-311-0/+9
* Basic Support Macro 2.0Edwin Cheng2021-03-273-23/+41
* Merge #8201bors[bot]2021-03-271-17/+42
|\
| * Fix recursive macro statement expansionEdwin Cheng2021-03-251-17/+42
* | syntax: return owned string instead of leaking stringcynecx2021-03-261-2/+2
|/
* Merge #8134bors[bot]2021-03-213-26/+76
|\
| * use the included file as the source of expanded include macroYilin Chen2021-03-213-26/+76
* | use strip_prefix() instead of starts_with and slicing (clippy::manual_strip)Matthias Krüger2021-03-211-3/+2
* | remove more redundant clones (clippy::redundant_clone())Matthias Krüger2021-03-211-1/+1
|/
* Return `Either` from `MacroDefId::ast_id`Jonas Schievink2021-03-192-5/+6
* Rename derive-specific APIsJonas Schievink2021-03-192-5/+5
* Store an `AstId` for procedural macrosJonas Schievink2021-03-184-6/+6
* Make MacroDefId's `AstId` mandatory when possibleJonas Schievink2021-03-186-34/+39
* Create AstId for builtin_derive macro in testsJonas Schievink2021-03-181-13/+28
* Improve diagnostic when including nonexistent fileJonas Schievink2021-03-171-10/+11
* Merge #8063bors[bot]2021-03-172-7/+4
|\
| * remove uselessly wrapped ?s. (clippy::meedless_question_markMatthias Krüger2021-03-171-2/+2
| * don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger2021-03-171-5/+2
* | Merge #8048bors[bot]2021-03-171-1/+1
|\ \ | |/ |/|
| * Follow established ErrorEmitted patternBrandon2021-03-171-1/+1
* | Upgrade rowanAleksey Kladov2021-03-161-1/+4
* | Fix macro expansion for statements w/o semicolonEdwin Cheng2021-03-161-1/+2
|/
* 7709: Updated the implementation.Chetan Khilosiya2021-03-151-0/+2
* some clippy::performance fixesMatthias Krüger2021-03-151-1/+1
* Merge #7994bors[bot]2021-03-131-0/+2
|\
| * add expand logEdwin Cheng2021-03-131-0/+2
* | Use expect-test for builtin macro/derive testsJonas Schievink2021-03-102-80/+64
* | Implement builtin `cfg!` macroJonas Schievink2021-03-103-2/+18
|/
* Fix assert split exprs on commaEdwin Cheng2021-02-281-17/+2
* Fix builtin macros split exprs on commaEdwin Cheng2021-02-281-20/+25
* Address further review commentsMatt Hall2021-02-241-0/+1
* Revert "Replace usage of ast::NameOrNameRef with ast::NameLike"Lukas Wirth2021-02-171-10/+3
* Replace usage of ast::NameOrNameRef with ast::NameLikeLukas Wirth2021-02-171-3/+10
* add more countsAleksey Kladov2021-01-271-1/+3
* Disallow non-boolean literals in concat!Laurențiu Nicola2021-01-251-2/+4
* Unquote strings and handle boolean literals in concat!Laurențiu Nicola2021-01-251-16/+8
* Identify methods using functions ids rather than string namesPhil Ellison2021-01-231-0/+3
* Merge #7359bors[bot]2021-01-201-6/+14
|\
| * Record `FileAstId`s for block expressiosnJonas Schievink2021-01-191-6/+14
* | .Aleksey Kladov2021-01-192-5/+5
* | :arrow_up: rowanAleksey Kladov2021-01-191-1/+1
|/
* shrink_to_fit `TokenMap`'s backing storageJonas Schievink2021-01-181-0/+2