about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAli Bektas <bektasali@protonmail.com>2024-01-18 22:29:36 +0100
committerAli Bektas <bektasali@protonmail.com>2024-01-18 22:29:36 +0100
commit431040fe59e2b76f1901ca2bac1b04550ffafde4 (patch)
treeafd5ae19e3aa56951375ef7653044ab313cab784
parent21020919e35fc1a973edfe800f921803009d6e2d (diff)
downloadrust-431040fe59e2b76f1901ca2bac1b04550ffafde4.tar.gz
rust-431040fe59e2b76f1901ca2bac1b04550ffafde4.zip
Update bail message referencing config
Even though we changed the name of the config I forgot
to update the warning message that referenced it.
-rw-r--r--crates/ide-db/src/rename.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-db/src/rename.rs b/crates/ide-db/src/rename.rs
index a6058b57f1e..10fcef49a02 100644
--- a/crates/ide-db/src/rename.rs
+++ b/crates/ide-db/src/rename.rs
@@ -81,7 +81,7 @@ impl Definition {
             // Can we not rename non-local items?
             // Then bail if non-local
             if !rename_external && !krate.origin(sema.db).is_local() {
-                bail!("Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item.")
+                bail!("Cannot rename a non-local definition. Set `rename_allowExternalItems` to `true` to allow renaming for this item.")
             }
         }