aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
Commit message (Expand)AuthorAgeFilesLines
* Merge #8134bors[bot]2021-03-211-4/+9
|\
| * check is_include_macro only when attr_path is not specifiedYilin Chen2021-03-211-4/+3
| * use the included file as the source of expanded include macroYilin Chen2021-03-211-2/+8
* | Merge #8135bors[bot]2021-03-212-2/+2
|\ \
| * | clippy::complexity simplifications related to IteratorsMatthias Krüger2021-03-211-1/+1
| * | remove more redundant clones (clippy::redundant_clone())Matthias Krüger2021-03-211-1/+1
| |/
* | Merge #8128bors[bot]2021-03-212-6/+28
|\ \ | |/ |/|
| * Expand legacy-scoped macro during collectionJonas Schievink2021-03-212-6/+28
* | Fix incorrect scoping in while expressionsLukas Wirth2021-03-211-1/+1
* | Track labels in scopesLukas Wirth2021-03-212-11/+52
|/
* Add `AttrsWithOwner` and clean up `source_map`Jonas Schievink2021-03-192-126/+192
* Return `Either` from `MacroDefId::ast_id`Jonas Schievink2021-03-191-3/+4
* Fix handling of `#![cfg]` in outline module fileJonas Schievink2021-03-192-21/+48
* Add builtin macro-like attributesJonas Schievink2021-03-191-2/+5
* Rename derive-specific APIsJonas Schievink2021-03-193-8/+8
* Merge #8097bors[bot]2021-03-191-1/+1
|\
| * Parse extended_key_value_attributesLukas Wirth2021-03-191-1/+1
* | Document fields of `ModuleId`Jonas Schievink2021-03-181-1/+5
* | Merge #8083bors[bot]2021-03-181-16/+48
|\ \
| * | Track source file IDs in source mapping of AttrsLukas Wirth2021-03-181-16/+48
* | | Add testJonas Schievink2021-03-181-0/+26
* | | Record custom derive helpers in `DefMap`Jonas Schievink2021-03-183-25/+91
* | | Store an `AstId` for procedural macrosJonas Schievink2021-03-182-7/+8
* | | Make MacroDefId's `AstId` mandatory when possibleJonas Schievink2021-03-184-15/+12
| |/ |/|
* | Merge #8082bors[bot]2021-03-182-0/+12
|\ \ | |/ |/|
| * Handle inner recursive macro rules casesEdwin Cheng2021-03-182-0/+12
* | Rename `item_tree` query to `file_item_tree`Jonas Schievink2021-03-185-11/+11
* | Make `ItemTreeId` its own typeJonas Schievink2021-03-187-36/+76
* | Avoid cloning `CfgOptions`Jonas Schievink2021-03-181-2/+3
* | Support `#[cfg]` on all associated itemsJonas Schievink2021-03-181-5/+5
* | Merge #8075bors[bot]2021-03-172-16/+37
|\ \
| * | Fix `use crate as <name>;` importsJonas Schievink2021-03-172-16/+37
* | | Improve diagnostic when including nonexistent fileJonas Schievink2021-03-172-2/+2
|/ /
* | Use first early expansion error during nameresJonas Schievink2021-03-172-1/+20
* | Apply `#[cfg]`s when computing function signaturesJonas Schievink2021-03-172-4/+17
* | ItemTree: lower attributes on fn parametersJonas Schievink2021-03-173-23/+54
* | Merge #8065bors[bot]2021-03-171-49/+56
|\ \
| * | Fix incorrect newline emission in Attrs::docsLukas Wirth2021-03-171-14/+14
| * | Better handling of block doc commentsLukas Wirth2021-03-171-38/+45
* | | Handle `#[cfg]` on call argumentsJonas Schievink2021-03-171-11/+16
|/ /
* | Merge #8059bors[bot]2021-03-171-6/+39
|\ \ | |/ |/|
| * Remove quadratic attr source lookupLukas Wirth2021-03-171-0/+25
| * Properly handle doc attributes in doc-comment highlight injectionLukas Wirth2021-03-161-1/+7
| * Fix attribute index assignment in cfg_attr resolutionLukas Wirth2021-03-161-5/+7
| * Move doc-comment highlight injection from AST to HIRLukas Wirth2021-03-161-1/+1
* | Merge #8063bors[bot]2021-03-171-1/+1
|\ \
| * | avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| |/
* | Merge #8048bors[bot]2021-03-177-46/+79
|\ \ | |/ |/|
| * Follow established ErrorEmitted patternBrandon2021-03-172-16/+13
| * Fix missing unresolved macro diagnostic in function bodyBrandon2021-03-167-39/+75