diff options
author | Jonas Schievink <[email protected]> | 2020-12-03 18:07:37 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-03 18:07:37 +0000 |
commit | 957fb1879905dc3496992de2241d0847c253e508 (patch) | |
tree | 497bb2da8411f77288d4b05360f353898ee7fde1 /crates/hir_def | |
parent | ec2bdd3c16c326716acd4936845aed16c892c833 (diff) |
Make `compile_error!` message match upstream rustc
It only consists of the argument passed to it
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/body/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/body/tests.rs b/crates/hir_def/src/body/tests.rs index 7e78340ee..6dba9817d 100644 --- a/crates/hir_def/src/body/tests.rs +++ b/crates/hir_def/src/body/tests.rs | |||
@@ -107,7 +107,7 @@ fn f() { | |||
107 | //^^^^^^^^^^^^^^^ `OUT_DIR` not set, enable "load out dirs from check" to fix | 107 | //^^^^^^^^^^^^^^^ `OUT_DIR` not set, enable "load out dirs from check" to fix |
108 | 108 | ||
109 | compile_error!("compile_error works"); | 109 | compile_error!("compile_error works"); |
110 | //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `compile_error!` called: compile_error works | 110 | //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ compile_error works |
111 | 111 | ||
112 | // Lazy: | 112 | // Lazy: |
113 | 113 | ||