aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/body/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add failing local items testJonas Schievink2021-04-211-0/+8
|
* Include path in `unresolved-macro-call` diagnosticJonas Schievink2021-04-161-1/+1
|
* Update `OUT_DIR` diagnostic to match settingJonas Schievink2021-04-071-1/+1
|
* Improve diagnostic when including nonexistent fileJonas Schievink2021-03-171-1/+1
|
* Fix missing unresolved macro diagnostic in function bodyBrandon2021-03-161-0/+12
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-2/+1
|
* Add `TestDB::module_at_position`Jonas Schievink2021-02-091-100/+4
|
* Don't keep the parent DefMap alive via ArcJonas Schievink2021-02-041-4/+3
| | | | | This seems like it could easily leak a lot of memory since we don't currently run GC
* Shortcut `block_def_map` if there's no inner itemsJonas Schievink2021-02-031-2/+2
| | | | | This previously didn't work, but apparently only because of the wonky test setup
* Use body lowering for block_def_map testsJonas Schievink2021-02-031-2/+114
| | | | Removes the hacky and buggy custom lowering code
* Revert "Use block_def_map in body lowering"Jonas Schievink2021-02-021-114/+2
|
* Use body lowering for block_def_map testsJonas Schievink2021-02-011-2/+114
| | | | Removes the hacky and buggy custom lowering code
* Add test for path resolution bugJonas Schievink2021-01-211-8/+33
|
* Add test for `$crate` in builtin macrosJonas Schievink2020-12-081-0/+28
| | | | Fixes #6716
* Make `compile_error!` message match upstream rustcJonas Schievink2020-12-031-1/+1
| | | | It only consists of the argument passed to it
* Make `compile_error!` lazy and emit a diagnosticJonas Schievink2020-12-031-0/+6
|
* Give better diagnostic if `OUT_DIR` is unsetJonas Schievink2020-12-031-0/+3
|
* Update/Fix testsJonas Schievink2020-12-031-4/+15
|
* Test macro diagnostics in body loweringJonas Schievink2020-12-021-0/+41
|
* Diagnose #[cfg]s in bodiesJonas Schievink2020-10-231-0/+75