aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Move expression lowering to hir_defAleksey Kladov2019-11-122-2/+730
|
* Move definition of exprs to hir_defAleksey Kladov2019-11-125-16/+542
|
* Minor refactoringAleksey Kladov2019-11-121-18/+29
|
* Merge #2205bors[bot]2019-11-112-3/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]>
| * Add MacroDefKindEdwin Cheng2019-11-111-8/+7
| |
| * Add basic bultin macro infrastructureEdwin Cheng2019-11-112-4/+31
| |
* | impl fmt::Display for BuiltinTypeAleksey Kladov2019-11-111-0/+32
| |
* | Overwrite the prelude with one defined in a later dependencyMatthias Einwag2019-11-101-9/+6
| | | | | | | | | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order.
* | Add tests for resolving types in core and std preludesMatthias Einwag2019-11-101-0/+31
| |
* | Resolve core typesMatthias Einwag2019-11-091-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199
* | Unfork struct and union idsAleksey Kladov2019-11-094-34/+33
|/
* Touch up nameres doc commentAleksey Kladov2019-11-081-7/+6
|
* Reduce visibilityAleksey Kladov2019-11-081-9/+9
|
* Extract path resolution submoduleAleksey Kladov2019-11-083-243/+269
|
* SimplifyAleksey Kladov2019-11-082-7/+5
| | | | | There's only one call-site for the function, so it seems fine to inline
* Reduce visibilityAleksey Kladov2019-11-081-23/+23
|
* Reduce visibilityAleksey Kladov2019-11-041-2/+2
|
* Move Namespace enum closer to usageAleksey Kladov2019-11-041-8/+0
|
* Reduce visibilityAleksey Kladov2019-11-042-6/+10
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-034-6/+4
|
* Add small module-level docsAleksey Kladov2019-11-032-0/+4
|
* Remove last traces of nameres from hirAleksey Kladov2019-11-031-1/+48
|
* Restore crate_def_map marksAleksey Kladov2019-11-039-26/+41
|
* move crate_def_map tests to hir_defAleksey Kladov2019-11-038-1/+2215
|
* Introduce ra_db::fixture fixture moduleAleksey Kladov2019-11-033-10/+53
| | | | The goal here is to share more testing infrastructure between crates.
* Move CrateDefMap to hir_defAleksey Kladov2019-11-037-6/+1469
|
* Move Source to hir_expandAleksey Kladov2019-11-021-16/+1
|
* move struct & enum data to hir_defAleksey Kladov2019-10-313-1/+142
|
* add ModuleDefId to hir_defAleksey Kladov2019-10-311-2/+56
|
* move builtin types to hir_defAleksey Kladov2019-10-312-0/+64
|
* move mod_resolution to hir_defAleksey Kladov2019-10-312-0/+79
|
* improve compile time a bitAleksey Kladov2019-10-301-1/+1
|
* move hygiene to hir_expandAleksey Kladov2019-10-305-47/+6
|
* push name down to hir_expandAleksey Kladov2019-10-305-162/+21
|
* push either to hir_expandAleksey Kladov2019-10-305-67/+7
|
* refactor $crate handlingAleksey Kladov2019-10-305-82/+109
| | | | | Introduce proper hygiene module, which should grow quite a bit eventually.
* fix compilationAleksey Kladov2019-10-302-2/+4
|
* move raw_items to hir_defAleksey Kladov2019-10-309-1/+1392
|
* Move ids to hir_def crateAleksey Kladov2019-10-302-1/+225
|
* introduce ra_hir_defAleksey Kladov2019-10-301-0/+14
|
* rename hir_def -> hir_expandAleksey Kladov2019-10-294-414/+0
|
* move expansion-related code to a separate crateAleksey Kladov2019-10-293-0/+293
|
* start ra_hir_def crateAleksey Kladov2019-10-292-0/+121