about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntonello Palazzi <antplz87@gmail.com>2022-06-27 09:04:42 +0100
committerAntonello Palazzi <antplz87@gmail.com>2022-06-27 09:04:42 +0100
commitbef89e95e721a3ed37d055dfcd1b547e0a5676e8 (patch)
treed13fa73dd7425e854adf8d130035fb16ba0137c0
parente4e2a467732ff4460ca75954fc2b051caad0416d (diff)
downloadrust-bef89e95e721a3ed37d055dfcd1b547e0a5676e8.tar.gz
rust-bef89e95e721a3ed37d055dfcd1b547e0a5676e8.zip
Udate unit tests
-rw-r--r--crates/ide-completion/src/tests/attribute.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-completion/src/tests/attribute.rs b/crates/ide-completion/src/tests/attribute.rs
index 52c69f84b61..3b366c94bf0 100644
--- a/crates/ide-completion/src/tests/attribute.rs
+++ b/crates/ide-completion/src/tests/attribute.rs
@@ -568,7 +568,7 @@ fn attr_on_fn() {
             at proc_macro_attribute
             at proc_macro_derive(…)
             at should_panic
-            at target_feature = "…"
+            at target_feature(enable = "…")
             at test
             at track_caller
             at warn(…)
@@ -615,7 +615,7 @@ fn attr_in_source_file_end() {
             at proc_macro_derive(…)
             at repr(…)
             at should_panic
-            at target_feature = "…"
+            at target_feature(enable = "…")
             at test
             at track_caller
             at used