aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/diagnostics
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-13 15:28:27 +0100
committerAleksey Kladov <[email protected]>2020-08-13 15:29:33 +0100
commitb28c54a2c239acd73f2eea80fda9ee3960d2c046 (patch)
tree1bf0ea193bdb3b16ff42c2c01118b13a4276b2bb /crates/rust-analyzer/src/diagnostics
parentb7aa4898e0841ab8199643f89a0caa967b698ca8 (diff)
Rename ra_hir_def -> hir_def
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics')
-rw-r--r--crates/rust-analyzer/src/diagnostics/to_proto.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs
index 97f331352..6d5408156 100644
--- a/crates/rust-analyzer/src/diagnostics/to_proto.rs
+++ b/crates/rust-analyzer/src/diagnostics/to_proto.rs
@@ -1116,7 +1116,7 @@ mod tests {
1116 fn macro_compiler_error() { 1116 fn macro_compiler_error() {
1117 check( 1117 check(
1118 r##"{ 1118 r##"{
1119 "rendered": "error: Please register your known path in the path module\n --> crates/ra_hir_def/src/path.rs:265:9\n |\n265 | compile_error!(\"Please register your known path in the path module\")\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | \n ::: crates/ra_hir_def/src/data.rs:80:16\n |\n80 | let path = path![std::future::Future];\n | -------------------------- in this macro invocation\n\n", 1119 "rendered": "error: Please register your known path in the path module\n --> crates/hir_def/src/path.rs:265:9\n |\n265 | compile_error!(\"Please register your known path in the path module\")\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n | \n ::: crates/hir_def/src/data.rs:80:16\n |\n80 | let path = path![std::future::Future];\n | -------------------------- in this macro invocation\n\n",
1120 "children": [], 1120 "children": [],
1121 "code": null, 1121 "code": null,
1122 "level": "error", 1122 "level": "error",
@@ -1134,7 +1134,7 @@ mod tests {
1134 "column_end": 2, 1134 "column_end": 2,
1135 "column_start": 1, 1135 "column_start": 1,
1136 "expansion": null, 1136 "expansion": null,
1137 "file_name": "crates/ra_hir_def/src/path.rs", 1137 "file_name": "crates/hir_def/src/path.rs",
1138 "is_primary": false, 1138 "is_primary": false,
1139 "label": null, 1139 "label": null,
1140 "line_end": 267, 1140 "line_end": 267,
@@ -1227,7 +1227,7 @@ mod tests {
1227 "column_end": 2, 1227 "column_end": 2,
1228 "column_start": 1, 1228 "column_start": 1,
1229 "expansion": null, 1229 "expansion": null,
1230 "file_name": "crates/ra_hir_def/src/path.rs", 1230 "file_name": "crates/hir_def/src/path.rs",
1231 "is_primary": false, 1231 "is_primary": false,
1232 "label": null, 1232 "label": null,
1233 "line_end": 277, 1233 "line_end": 277,
@@ -1284,7 +1284,7 @@ mod tests {
1284 "column_end": 42, 1284 "column_end": 42,
1285 "column_start": 16, 1285 "column_start": 16,
1286 "expansion": null, 1286 "expansion": null,
1287 "file_name": "crates/ra_hir_def/src/data.rs", 1287 "file_name": "crates/hir_def/src/data.rs",
1288 "is_primary": false, 1288 "is_primary": false,
1289 "label": null, 1289 "label": null,
1290 "line_end": 80, 1290 "line_end": 80,
@@ -1300,7 +1300,7 @@ mod tests {
1300 ] 1300 ]
1301 } 1301 }
1302 }, 1302 },
1303 "file_name": "crates/ra_hir_def/src/path.rs", 1303 "file_name": "crates/hir_def/src/path.rs",
1304 "is_primary": false, 1304 "is_primary": false,
1305 "label": null, 1305 "label": null,
1306 "line_end": 272, 1306 "line_end": 272,
@@ -1316,7 +1316,7 @@ mod tests {
1316 ] 1316 ]
1317 } 1317 }
1318 }, 1318 },
1319 "file_name": "crates/ra_hir_def/src/path.rs", 1319 "file_name": "crates/hir_def/src/path.rs",
1320 "is_primary": true, 1320 "is_primary": true,
1321 "label": null, 1321 "label": null,
1322 "line_end": 265, 1322 "line_end": 265,