diff options
Diffstat (limited to 'crates/ide_completion/src')
-rw-r--r-- | crates/ide_completion/src/completions/attribute.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide_completion/src/completions/attribute.rs b/crates/ide_completion/src/completions/attribute.rs index ab25a8c58..3a5bc4381 100644 --- a/crates/ide_completion/src/completions/attribute.rs +++ b/crates/ide_completion/src/completions/attribute.rs | |||
@@ -101,6 +101,7 @@ const ATTRIBUTES: &[AttrCompletion] = &[ | |||
101 | ), | 101 | ), |
102 | attr(r#"doc(alias = "…")"#, Some("docalias"), Some(r#"doc(alias = "${0:docs}")"#)), | 102 | attr(r#"doc(alias = "…")"#, Some("docalias"), Some(r#"doc(alias = "${0:docs}")"#)), |
103 | attr(r#"doc = "…""#, Some("doc"), Some(r#"doc = "${0:docs}""#)), | 103 | attr(r#"doc = "…""#, Some("doc"), Some(r#"doc = "${0:docs}""#)), |
104 | attr(r#"doc(hidden)"#, Some("dochidden"), Some(r#"doc(hidden)"#)), | ||
104 | attr("feature(…)", Some("feature"), Some("feature(${0:flag})")).prefer_inner(), | 105 | attr("feature(…)", Some("feature"), Some("feature(${0:flag})")).prefer_inner(), |
105 | attr("forbid(…)", Some("forbid"), Some("forbid(${0:lint})")), | 106 | attr("forbid(…)", Some("forbid"), Some("forbid(${0:lint})")), |
106 | // FIXME: resolve through macro resolution? | 107 | // FIXME: resolve through macro resolution? |
@@ -471,6 +472,7 @@ struct Test {} | |||
471 | at export_name = "…" | 472 | at export_name = "…" |
472 | at doc(alias = "…") | 473 | at doc(alias = "…") |
473 | at doc = "…" | 474 | at doc = "…" |
475 | at doc(hidden) | ||
474 | at forbid(…) | 476 | at forbid(…) |
475 | at ignore = "…" | 477 | at ignore = "…" |
476 | at inline | 478 | at inline |
@@ -519,6 +521,7 @@ struct Test {} | |||
519 | at export_name = "…" | 521 | at export_name = "…" |
520 | at doc(alias = "…") | 522 | at doc(alias = "…") |
521 | at doc = "…" | 523 | at doc = "…" |
524 | at doc(hidden) | ||
522 | at feature(…) | 525 | at feature(…) |
523 | at forbid(…) | 526 | at forbid(…) |
524 | at global_allocator | 527 | at global_allocator |