Auto merge of #16400 - alibektas:15656/update_bail_message_ref_config, r=Veykril

Update bail message referencing config

Even though we changed the name of the config I forgot to update the warning message that referenced it.
This commit is contained in:
bors 2024-01-19 14:19:11 +00:00
commit 03d4a6dd9a
2 changed files with 3 additions and 3 deletions

View file

@ -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 as the config for it is disabled")
}
}