aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/display')
-rw-r--r--crates/ra_ide/src/display/structure.rs22
1 files changed, 18 insertions, 4 deletions
diff --git a/crates/ra_ide/src/display/structure.rs b/crates/ra_ide/src/display/structure.rs
index be21fa913..8bdb971fe 100644
--- a/crates/ra_ide/src/display/structure.rs
+++ b/crates/ra_ide/src/display/structure.rs
@@ -212,6 +212,11 @@ macro_rules! mc {
212 () => {} 212 () => {}
213} 213}
214 214
215#[macro_export]
216macro_rules! mcexp {
217 () => {}
218}
219
215#[deprecated] 220#[deprecated]
216fn obsolete() {} 221fn obsolete() {}
217 222
@@ -388,9 +393,18 @@ fn very_obsolete() {}
388 }, 393 },
389 StructureNode { 394 StructureNode {
390 parent: None, 395 parent: None,
396 label: "mcexp",
397 navigation_range: [334; 339),
398 node_range: [305; 356),
399 kind: MACRO_CALL,
400 detail: None,
401 deprecated: false,
402 },
403 StructureNode {
404 parent: None,
391 label: "obsolete", 405 label: "obsolete",
392 navigation_range: [322; 330), 406 navigation_range: [375; 383),
393 node_range: [305; 335), 407 node_range: [358; 388),
394 kind: FN_DEF, 408 kind: FN_DEF,
395 detail: Some( 409 detail: Some(
396 "fn()", 410 "fn()",
@@ -400,8 +414,8 @@ fn very_obsolete() {}
400 StructureNode { 414 StructureNode {
401 parent: None, 415 parent: None,
402 label: "very_obsolete", 416 label: "very_obsolete",
403 navigation_range: [375; 388), 417 navigation_range: [428; 441),
404 node_range: [337; 393), 418 node_range: [390; 446),
405 kind: FN_DEF, 419 kind: FN_DEF,
406 detail: Some( 420 detail: Some(
407 "fn()", 421 "fn()",