aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
Commit message (Expand)AuthorAgeFilesLines
* 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
| |
| \
*-. \ Merge #7900 #8000bors[bot]2021-03-165-20/+77
|\ \ \
| | * | Use hir formatter moreoxalica2021-03-154-7/+27
| | * | Impl HirDisplay for function hover messageoxalica2021-03-151-1/+10
| | * | Introduce FunctionQualifier for hir::FunctionDataoxalica2021-03-153-12/+40
* | | | Fix macro expansion for statements w/o semicolonEdwin Cheng2021-03-162-47/+63
| |_|/ |/| |
* | | Merge #7970bors[bot]2021-03-153-11/+69
|\ \ \ | |_|/ |/| |
| * | Update crates/hir_def/src/nameres/collector.rsbrandondong2021-03-151-1/+1
| * | Fix incorrect diagnositics for failing built in eager macrosBrandon2021-03-142-10/+68
| * | Fix spelling errorBrandon2021-03-141-1/+1
| |/
* | Enable thread-local coverage marksLaurențiu Nicola2021-03-151-1/+1