Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | ||||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 1 | -3/+3 | |
| | ||||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 1 | -4/+4 | |
| | ||||||
* | Simplify HasSource | Aleksey Kladov | 2019-11-23 | 1 | -21/+18 | |
| | ||||||
* | Hide ImportId | Aleksey Kladov | 2019-11-23 | 3 | -19/+24 | |
| | ||||||
* | Remove unneded supertrait | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | ||||||
* | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | ||||||
* | Note that debugging infra is broken | Aleksey Kladov | 2019-11-23 | 1 | -0/+2 | |
| | ||||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 2 | -5/+3 | |
| | ||||||
* | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 6 | -132/+43 | |
| | ||||||
* | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 7 | -199/+45 | |
| | ||||||
* | Use attrs rather than syntax for lang items | Aleksey Kladov | 2019-11-23 | 1 | -31/+25 | |
| | ||||||
* | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 6 | -116/+73 | |
| | ||||||
* | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 2 | -43/+26 | |
| | ||||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -1/+1 | |
| | ||||||
* | Expand column!() | Jeremy Kolb | 2019-11-22 | 1 | -0/+19 | |
| | ||||||
* | Merge #2357 | bors[bot] | 2019-11-22 | 1 | -0/+19 | |
|\ | | | | | | | | | | | | | | | 2357: Expand file! to dummy "" r=edwin0cheng a=kjeremy See https://github.com/rust-analyzer/rust-analyzer/pull/2355#issuecomment-557541873 Co-authored-by: kjeremy <[email protected]> | |||||
| * | Expand file! to dummy "" | kjeremy | 2019-11-22 | 1 | -0/+19 | |
| | | ||||||
* | | Remove TraitData from API | Aleksey Kladov | 2019-11-22 | 2 | -10/+5 | |
| | | ||||||
* | | Hide data from public API | Aleksey Kladov | 2019-11-22 | 3 | -16/+8 | |
| | | ||||||
* | | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 5 | -67/+22 | |
| | | ||||||
* | | Make ImplData's fields public | Aleksey Kladov | 2019-11-22 | 3 | -6/+6 | |
| | | ||||||
* | | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 6 | -100/+31 | |
|/ | ||||||
*-. | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 4 | -40/+4 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | Move TypeAlias to hir_def | Aleksey Kladov | 2019-11-22 | 4 | -40/+4 | |
| |/ | ||||||
* | | Merge #2351 | bors[bot] | 2019-11-22 | 3 | -16/+15 | |
|\ \ | |/ |/| | | | | | | | | | | | 2351: Rename Atts trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Rename Atts trait | Aleksey Kladov | 2019-11-22 | 2 | -13/+10 | |
| | | ||||||
| * | Encapsulate Attrs | Aleksey Kladov | 2019-11-22 | 2 | -9/+11 | |
| | | ||||||
* | | Add to_macro_file_kind | Edwin Cheng | 2019-11-21 | 1 | -2/+38 | |
|/ | ||||||
* | reformat | Aleksey Kladov | 2019-11-21 | 2 | -5/+4 | |
| | ||||||
* | Remove old hir::generics module | Aleksey Kladov | 2019-11-21 | 11 | -114/+94 | |
| | ||||||
* | Move resolver to hir_def | Aleksey Kladov | 2019-11-21 | 13 | -652/+29 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 8 | -49/+53 | |
| | ||||||
* | Split internal and user-visible ScopeDef | Aleksey Kladov | 2019-11-21 | 2 | -17/+40 | |
| | ||||||
* | Use GenericParam in ScopeDef | Aleksey Kladov | 2019-11-21 | 2 | -4/+10 | |
| | ||||||
* | Move ScopeDef | Aleksey Kladov | 2019-11-21 | 4 | -31/+31 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 6 | -75/+105 | |
| | ||||||
* | Decouple | Aleksey Kladov | 2019-11-21 | 5 | -43/+59 | |
| | ||||||
* | Move expr resolver to resolve | Aleksey Kladov | 2019-11-21 | 4 | -33/+35 | |
| | ||||||
* | Decouple Resolver | Aleksey Kladov | 2019-11-21 | 9 | -107/+180 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2019-11-20 | 2 | -41/+15 | |
| | ||||||
* | Add HasResolver trait | Aleksey Kladov | 2019-11-20 | 8 | -134/+138 | |
| | ||||||
* | Remove hir/adt.rs | Aleksey Kladov | 2019-11-20 | 6 | -66/+47 | |
| | ||||||
* | Simplify generic params | Aleksey Kladov | 2019-11-20 | 3 | -37/+33 | |
| | ||||||
* | Move generic_params query to HIR | Aleksey Kladov | 2019-11-20 | 2 | -23/+6 | |
| | ||||||
* | Move constants to new ID | Aleksey Kladov | 2019-11-20 | 8 | -28/+52 | |
| | | | | This allows us to get rid of trait item index | |||||
* | Don't duplicate ContainerId type | Aleksey Kladov | 2019-11-20 | 1 | -8/+8 | |
| | ||||||
* | Switch type aliases to new sources | Aleksey Kladov | 2019-11-20 | 3 | -54/+88 | |
| | ||||||
* | Fix expand macro | Edwin Cheng | 2019-11-20 | 1 | -3/+10 | |
| | ||||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 4 | -19/+76 | |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def |