about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAli Bektas <bektasali@protonmail.com>2024-01-19 15:01:46 +0100
committerAli Bektas <bektasali@protonmail.com>2024-01-19 15:01:46 +0100
commit0347f8124476d232537fff85c33ad065dcda8d76 (patch)
tree485d2446ca94824896e04f8cdcca5dbbd20f8aee
parent0becb6c8194d341d58784276f2ede926c1c198c3 (diff)
downloadrust-0347f8124476d232537fff85c33ad065dcda8d76.tar.gz
rust-0347f8124476d232537fff85c33ad065dcda8d76.zip
Update tests
-rw-r--r--crates/ide/src/rename.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/rename.rs b/crates/ide/src/rename.rs
index 0446b4a4b64..9fce4bb0f82 100644
--- a/crates/ide/src/rename.rs
+++ b/crates/ide/src/rename.rs
@@ -2636,7 +2636,7 @@ pub struct S;
 //- /main.rs crate:main deps:lib new_source_root:local
 use lib::S$0;
 "#,
-            "error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.",
+            "error: Cannot rename a non-local definition as the config for it is disabled",
             false,
         );
 
@@ -2663,7 +2663,7 @@ use core::hash::Hash;
 #[derive(H$0ash)]
 struct A;
             "#,
-            "error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.",
+            "error: Cannot rename a non-local definition as the config for it is disabled",
             false,
         );
     }