Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Overwrite the prelude with one defined in a later dependency | Matthias Einwag | 2019-11-10 | 1 | -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 preludes | Matthias Einwag | 2019-11-10 | 1 | -0/+31 |
| | |||||
* | Resolve core types | Matthias Einwag | 2019-11-09 | 1 | -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 ids | Aleksey Kladov | 2019-11-09 | 1 | -4/+7 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-08 | 1 | -9/+9 |
| | |||||
* | Extract path resolution submodule | Aleksey Kladov | 2019-11-08 | 2 | -2/+263 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-08 | 1 | -1/+5 |
| | | | | | There's only one call-site for the function, so it seems fine to inline | ||||
* | Reduce visibility | Aleksey Kladov | 2019-11-08 | 1 | -23/+23 |
| | |||||
* | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 1 | -8/+0 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-04 | 1 | -4/+8 |
| | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -2/+1 |
| | |||||
* | Restore crate_def_map marks | Aleksey Kladov | 2019-11-03 | 6 | -22/+21 |
| | |||||
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 6 | -0/+2177 |
| | |||||
* | Introduce ra_db::fixture fixture module | Aleksey Kladov | 2019-11-03 | 1 | -10/+10 |
| | | | | The goal here is to share more testing infrastructure between crates. | ||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 2 | -0/+927 |
| | |||||
* | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -0/+77 |
| | |||||
* | move hygiene to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -4/+2 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -7/+8 |
| | |||||
* | push either to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -7/+4 |
| | |||||
* | refactor $crate handling | Aleksey Kladov | 2019-10-30 | 1 | -17/+14 |
| | | | | | Introduce proper hygiene module, which should grow quite a bit eventually. | ||||
* | fix compilation | Aleksey Kladov | 2019-10-30 | 1 | -2/+2 |
| | |||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -0/+407 |