aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/test_db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Create all `ModuleId`s through a `DefMap` methodJonas Schievink2021-01-251-1/+1
| | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId`
* Make `ModuleId`'s `krate` field privateJonas Schievink2021-01-221-1/+1
|
* Make public DefMap fields privateJonas Schievink2021-01-201-2/+2
|
* Introduce anchored_pathAleksey Kladov2020-12-091-3/+5
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Deny unreachable-pubAleksey Kladov2020-11-021-3/+3
| | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
* Rename ra_hir_ty -> hir_tyAleksey Kladov2020-08-131-0/+136