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:
Ali Bektas 2024-01-18 22:29:36 +01:00
parent 21020919e3
commit 431040fe59

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. Set `rename_allowExternalItems` to `true` to allow renaming for this item.")
}
}