aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src
Commit message (Expand)AuthorAgeFilesLines
* 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
| |/
* | Simplify source maps for fieldsAleksey Kladov2021-03-152-18/+25
* | Create TraitEnvironment through a queryFlorian Diebold2021-03-131-0/+10
* | Handle `cfg_attr` gating multiple attributesJonas Schievink2021-03-131-29/+19
* | Extend cfg_attr testJonas Schievink2021-03-131-0/+3
* | Simplify hir_def TestDBJonas Schievink2021-03-131-7/+2
* | Remove `ItemTree::source`Jonas Schievink2021-03-121-12/+0
|/
* Prefer names from outer DefMap over extern preludeJonas Schievink2021-03-101-5/+11
* Stop fetching ItemTrees for no reasonJonas Schievink2021-03-101-14/+1
* Delete `ContainerId`Jonas Schievink2021-03-096-72/+45