aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/mod_resolution.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-131-139/+0
|
* Rename ra_db -> base_dbAleksey Kladov2020-08-131-1/+1
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* Remove relative_path dependencyAleksey Kladov2020-07-081-29/+87
|
* New VFSAleksey Kladov2020-06-231-3/+4
|
* Anchor file-system operations to the file, and not to the source root.Aleksey Kladov2020-06-161-4/+4
| | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end!
* More direct signature for resolve_pathAleksey Kladov2020-06-051-1/+1
|
* Rename resolve_relative_path -> resolve_pathAleksey Kladov2020-06-051-1/+1
| | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-2/+2
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Get rid of DefDatabase2Aleksey Kladov2019-11-231-2/+2
|
* Reduce visibilityAleksey Kladov2019-11-041-4/+8
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-031-2/+1
|
* move mod_resolution to hir_defAleksey Kladov2019-10-311-0/+77