aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/test_db.rs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce anchored_pathAleksey Kladov2020-12-091-3/+3
| | | | | They allow to represent paths like `#[path = "C:\path.rs"] mod foo;` in a lossless cross-platform & network-transparent way.
* Use `original_file_range` in `TestDB`Jonas Schievink2020-12-081-9/+3
|
* Handle macros in `TestDB::check_diagnostics`Jonas Schievink2020-12-081-2/+9
|
* Deny unreachable-pubAleksey Kladov2020-11-021-7/+7
| | | | | | | | 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.
* Diagnose #[cfg]s in bodiesJonas Schievink2020-10-231-3/+41
|
* Add annotation-based nameres diagnostic testsJonas Schievink2020-09-161-0/+42
|
* Rename ra_hir_def -> hir_defAleksey Kladov2020-08-131-0/+101