aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/nameres
Commit message (Expand)AuthorAgeFilesLines
* Rename `unexpanded_macros` to `unresolved_macros`Jonas Schievink2021-05-201-15/+31
* Track in-scope derive helpers during nameresJonas Schievink2021-05-191-8/+26
* Fix unresolved attribute fallback againJonas Schievink2021-05-192-4/+33
*-. Merge #8885 #8887bors[bot]2021-05-192-14/+35
|\ \
| | * Fix derive collection after unresolved attribute fallbackJonas Schievink2021-05-192-2/+26
| |/ |/|
| * Simplify eager macro representationJonas Schievink2021-05-191-12/+9
|/
* Merge #8882bors[bot]2021-05-191-27/+153
|\
| * Rewrite `resolve_imports` to use an iteratorJonas Schievink2021-05-191-19/+23
| * Restructure nameres loop to be a bit clearerJonas Schievink2021-05-191-38/+41
| * internal: resolve attributes in name resolutionJonas Schievink2021-05-191-2/+121
* | Merge #8871bors[bot]2021-05-181-23/+13
|\ \
| * | Simplify `DefCollector::resolve_macros`Jonas Schievink2021-05-181-23/+13
| |/
* | Added cov markivan7702021-05-172-1/+3
* | Fix #8834ivan7702021-05-162-0/+19
|/
* Move `AttrId` back into `hir_def`Jonas Schievink2021-05-101-2/+2
* Test that none of the macros are reparsedJonas Schievink2021-05-091-0/+6
* Precompute macro fragment kindJonas Schievink2021-05-091-6/+14
* Update crates/hir_def/src/nameres/tests/incremental.rsAleksey Kladov2021-05-061-1/+1
* internal: add failing incremental testAleksey Kladov2021-05-061-0/+52
* Merge #8542bors[bot]2021-04-162-6/+7
|\
| * Include path in `unresolved-macro-call` diagnosticJonas Schievink2021-04-162-6/+7
* | Fix primitive shadowing with inner itemsJonas Schievink2021-04-161-1/+7
|/
* Resolve prelude and crate root names in the root DefMapJonas Schievink2021-04-092-7/+34
*-. Merge #8443 #8446bors[bot]2021-04-092-16/+15
|\ \
| | * Undo path resolution hack for extern preludeJonas Schievink2021-04-091-9/+4
| |/ |/|
| * Store `#[derive]` attribute ID along macro invocJonas Schievink2021-04-091-7/+11
|/
* Use named fields in `MacroCallKind`Jonas Schievink2021-04-081-1/+1
* Track recursion limit when expanding custom deriveJonas Schievink2021-04-081-1/+1
* Update `OUT_DIR` diagnostic to match settingJonas Schievink2021-04-071-1/+1
* nameres: collect unnamed constsJonas Schievink2021-04-071-13/+21
* Merge #8352bors[bot]2021-04-051-9/+3
|\
| * Remove dead legacy macro expansion codeBrandon2021-04-051-9/+3
* | Use shrink_to_fit to reduce DefMap sizesJonas Schievink2021-04-031-1/+3
* | Intern `ModPath` in `Import`Jonas Schievink2021-04-031-2/+6
* | Allow include! an empty content fileEdwin Cheng2021-04-031-0/+20
* | Support `#[rustc_builtin_macro = "builtin_name"]`Jonas Schievink2021-04-031-1/+11
* | Only populate prelude for crate-level DefMapsJonas Schievink2021-04-021-14/+16
* | Intern Attr, MacroCall and Path componentsJonas Schievink2021-04-011-1/+1
* | Remove unused test fixturesEdwin Cheng2021-03-281-4/+0
* | Basic Support Macro 2.0Edwin Cheng2021-03-272-39/+85
|/
* Merge bang-macros and derives in name resolutionJonas Schievink2021-03-231-86/+79
* resolver: manually traverse nested block scopesJonas Schievink2021-03-221-1/+1
* 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
* | Expand legacy-scoped macro during collectionJonas Schievink2021-03-212-6/+28
|/
* Fix handling of `#![cfg]` in outline module fileJonas Schievink2021-03-192-21/+48
* Rename derive-specific APIsJonas Schievink2021-03-191-4/+4
* Add testJonas Schievink2021-03-181-0/+26
* Record custom derive helpers in `DefMap`Jonas Schievink2021-03-182-24/+80