aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/body/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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