diff options
author | FlowerBOII <[email protected]> | 2021-01-06 10:07:57 +0000 |
---|---|---|
committer | FlowerBOII <[email protected]> | 2021-01-06 10:07:57 +0000 |
commit | db0a844ad83cb8a68e91ec40c2fa0680f512b012 (patch) | |
tree | 9c97d00b631ec429265416a05f751dd632d22bd9 | |
parent | 64f8ec46324ebe838d10bd2ae739b543ca894a86 (diff) |
Update deprecated test
-rw-r--r-- | crates/completion/src/completions/attribute.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/completion/src/completions/attribute.rs b/crates/completion/src/completions/attribute.rs index 89ba68dc7..53c2e87dc 100644 --- a/crates/completion/src/completions/attribute.rs +++ b/crates/completion/src/completions/attribute.rs | |||
@@ -98,7 +98,7 @@ const ATTRIBUTES: &[AttrCompletion] = &[ | |||
98 | attr(r#"crate_name = """#, Some("crate_name"), Some(r#"crate_name = "${0:crate_name}""#)) | 98 | attr(r#"crate_name = """#, Some("crate_name"), Some(r#"crate_name = "${0:crate_name}""#)) |
99 | .prefer_inner(), | 99 | .prefer_inner(), |
100 | attr("deny(…)", Some("deny"), Some("deny(${0:lint})")), | 100 | attr("deny(…)", Some("deny"), Some("deny(${0:lint})")), |
101 | attr(r#"deprecated "…""#, Some("deprecated"), Some(r#"deprecated"#)), | 101 | attr(r#"deprecated"#, Some("deprecated"), Some(r#"deprecated"#)), |
102 | attr("derive(…)", Some("derive"), Some(r#"derive(${0:Debug})"#)), | 102 | attr("derive(…)", Some("derive"), Some(r#"derive(${0:Debug})"#)), |
103 | attr( | 103 | attr( |
104 | r#"export_name = "…""#, | 104 | r#"export_name = "…""#, |
@@ -476,7 +476,7 @@ struct Test {} | |||
476 | at cfg(…) | 476 | at cfg(…) |
477 | at cold | 477 | at cold |
478 | at deny(…) | 478 | at deny(…) |
479 | at deprecated = "…" | 479 | at deprecated |
480 | at derive(…) | 480 | at derive(…) |
481 | at export_name = "…" | 481 | at export_name = "…" |
482 | at doc = "…" | 482 | at doc = "…" |
@@ -523,7 +523,7 @@ struct Test {} | |||
523 | at cold | 523 | at cold |
524 | at crate_name = "" | 524 | at crate_name = "" |
525 | at deny(…) | 525 | at deny(…) |
526 | at deprecated = "…" | 526 | at deprecated |
527 | at derive(…) | 527 | at derive(…) |
528 | at export_name = "…" | 528 | at export_name = "…" |
529 | at doc = "…" | 529 | at doc = "…" |